java.lang.UnsupportedClassVersionError

Bad version number in .class file

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4775

  • via Coderanch by Dave Alvarado, 7 months ago
    Bad version number in .class file
  • via Coderanch by Rajeev Ravindran, 11 months ago
    Bad version number in .class file
  • via Coderanch by Oczek Oczkowy, 9 months ago
    Bad version number in .class file
  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 4 months ago
    Unknown user
    2 times, 10 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    16 more bugmates