Closed GoogleCodeExporter closed 9 years ago
I get a similar error at runtime. Copy below. If this is due to a java version
mismatch then there should be an indication of which versions are compatible.
java -
version output is also below.
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)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
U:\SyncNotes2Google>java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
Original comment by pscrivens@gmail.com
on 16 Nov 2009 at 12:09
Hello, had the same problem.. updated Java to 6.16 and finally got it worked.
Original comment by peterha...@gmail.com
on 18 Nov 2009 at 2:46
Original comment by henols
on 22 Mar 2010 at 3:54
Original issue reported on code.google.com by
jmo...@gmail.com
on 11 Nov 2009 at 4:55Attachments: