Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

UnsupportedClassVersionError: bad version number of .class file

807589Sep 11 2008 — edited Sep 18 2008
I compiled many code-examples from the java tutorials with the Java-Compiler.
They run fine, when I start them from the Console.
Then I made batchfiles and tried to start them from the Windows Explorer. (I use Windows Vista)
But I keep getting the same error message:
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad versionnumber in .class file

Is there anything, that I can do?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 16 2008
Added on Sep 11 2008
3 comments
155 views