I have Java 1.6 and Tomcat 5.5 installed on my system.
But Tomcat 5.5 accesses Java 1.5 and hence as the outcome I get the error Bad version number in .class f
You can change the JDK or JRE location using the following steps:
[tomcat-home]\bin
directory.
c:\tomcat8\bin
Tomcat8W //ES//Tomcat8
note:
in Apache TomEE same steps, but step (3) the command must be: TomEE //ES