Tomcat 7 worked fine with Java 1.7 When I updated Java to 1.8 I got Unsupported major.minor version 52.0 error in Tomcat.
Solution: edit /etc/default/tomcat7 and set JAVA_HOME to Java 8 location. My variant is
1 |
JAVA_HOME=/usr/lib/jvm/java-8-oracle |