A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Bad version number in .class file
Joined: Dec 17, 2012
Dec 17, 2012 22:22:41
I was getting the following error:
: Bad version number in .class file
I understand it is because I was trying to run a .class or jar file that was compiled with a higher version of java than the virtual machine I was using to run it.
I downloaded and installed the latest version Java SE 7 (I use linux SLACKWARE).
I set Java_Home and Path to point to the version of java using "export"
I restarted tomcat and it recognized the new JAVA_HOME.
I ran the jsp and still got the Bad version number.
I agree. Here's the link:
subject: Bad version number in .class file
Problem in I18N in Spring
Can't resolve JDK issue on Mac
Wake up a thread
Simple JPA application on TOMEE
Fetch 10K rows from table
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015