title: Tomcat 8 Unsupported major.minor version 52.0 (unable to load class
body: <p>I understand this may be considered a duplicate but none of the other answers worked for me. </p>
  
  <p>I'm deploying a WAR file to ubuntu 14.04. No matter the version I compile with (1.6,1.7,1.8) I continue to get this error. My tomcat versions </p>
  
  <pre><code>ubuntu@HOST:/opt/tomcat/bin$ ./version.sh
  Using CATALINA_BASE:   /opt/tomcat
  Using CATALINA_HOME:   /opt/tomcat
  Using CATALINA_TMPDIR: /opt/tomcat/temp
  Using JRE_HOME:        /usr/lib/jvm/java-8-oracle
  Using CLASSPATH:       /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar
  Server version: Apache Tomcat/8.0.23
  Server built:   May 19 2015 14:58:38 UTC
  Server number:  8.0.23.0
  OS Name:        Linux
  OS Version:     3.11.0-15-generic
  Architecture:   amd64
  JVM Version:    1.8.0_111-b14
  JVM Vendor:     Oracle Corporation
  </code></pre>
  
  <p>note that it's 1.8.0 but the web mananger says this</p>
  
  <p><a href="https://i.stack.imgur.com/SHRhC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SHRhC.png" alt="enter image description here"></a></p>
  
  <p>which makes no sense. Note that tomcat7 is currently installed but not running.</p>
  
  <p>Additional Info:</p>
  
  <pre><code>ubuntu@HOST:/opt/tomcat/bin$ java -version
  java version "1.8.0_111"
  Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
  Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/mfo97.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mfo97.png" alt="enter image description here"></a></p>