title: Scala sbt run - "Unsupported major.minor version 52.0"
body: <p>Things run without any problem when I work on IntelliJ, but when I try to compile and run my Scala code in the command line (with <code>sbt run</code>) the following error message pops up.</p>
  
  <pre><code>[error] (run-main-0) java.lang.UnsupportedClassVersionError: akka/event/LogSource : Unsupported major.minor version 52.0
  java.lang.UnsupportedClassVersionError: akka/event/LogSource : Unsupported major.minor version 52.0
          at java.lang.ClassLoader.defineClass1(Native Method)
          at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
          at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
          at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
          at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
          at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
          at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
          at java.lang.Class.getDeclaredMethods0(Native Method)
          at java.lang.Class.privateGetDeclaredMethods(Class.java:2625)
          at java.lang.Class.getMethod0(Class.java:2866)
          at java.lang.Class.getMethod(Class.java:1676)
  </code></pre>
  
  <p>I'm using Ubuntu 14.04 LTS.</p>
  
  <pre><code>$ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 14.04.5 LTS
  Release:        14.04
  Codename:       trusty
  </code></pre>
  
  <p>And my Scala version is 2.9.2.</p>
  
  <pre><code>$ scalac -version
  Scala compiler version 2.9.2 -- Copyright 2002-2011, LAMP/EPFL
  </code></pre>
  
  <p>I barely started learning Scala a few weeks ago, so if anyone could provide some advice on what I should look into, it would be greatly appreciated.</p>