java.lang.UnsupportedClassVersionError: Bad version number in .class file

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by user559087, 1 year ago
Bad version number in .class file
via Oracle Community by Mr. T, 1 year ago
Bad version number in .class file
via Google Groups by Michael Zales, 3 months ago
Bad version number in .class file
via Oracle Community by 807606, 11 months ago
Bad version number in .class file
via Oracle Community by 807580, 1 year ago
Bad version number in .class file
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass2(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:720)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:160)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:254)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at oracle.jrad.tools.util.ConnectUtils.getDBConnection(ConnectUtils.java:149)
at oracle.jrad.tools.xml.importer.JPXImporter.doImport(JPXImporter.java:133)
at oracle.jrad.tools.xml.importer.JPXImporter.processJPXFile(JPXImporter.java:276)
at oracle.jrad.tools.xml.importer.JPXImporter.main(JPXImporter.java:110)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
19 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.