UnsupportedClassVersionError: bad version number of .class file
807589Sep 11 2008 — edited Sep 18 2008I 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?