java apples
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
When did this show up? This is exactly what I was saying about 1.5 not being able to run a 1.6 generated class file. All errors prior to this where "NoClassDefFoundException", which has nothing to do with incorrect versions and not what I would expect to see. The bad version number error is what I was expecting to see.