Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Dreambot Quickstart Project for Maven


    vakho

    Recommended Posts

    • 11 months later...

    Gear One, thank you.

    Do you have any idea why the error might happen?
     

    Java Version  + Same in Intellij.

    java version "1.8.0_131"
    Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

     

    I did also install the .jar to the Maven as in the git explained. On "refresh" scripts i get the error massage that the Script been complited with Higher Version.


     

    Exception in thread "Thread-20" java.lang.UnsupportedClassVersionError: module-info has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
    	at java.lang.ClassLoader.defineClass1(Native Method)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
    	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    	at org.dreambot.api.script.loader.LocalLoader.loadJar(LocalLoader.java:302)
    	at org.dreambot.api.script.loader.LocalLoader.loadJar(LocalLoader.java:265)
    	at org.dreambot.api.script.loader.LocalLoader.traverse(LocalLoader.java:207)
    	at org.dreambot.api.script.loader.LocalLoader.loadScripts(LocalLoader.java:171)
    	at org.dreambot.api.script.loader.LocalLoader.<clinit>(LocalLoader.java:142)
    	at org.dreambot.0.1.1.3.4.0(4.java:639)
    	at org.dreambot.0.1.1.3.4.0r(4.java:631)
    	at org.dreambot.0.1.1.3.4.0x(4.java:625)
    	at org.dreambot.0.1.1.3.4.0s(4.java:357)
    	at org.dreambot.0.1.1.3.4.0q(4.java:106)
    	at java.lang.Thread.run(Thread.java:748)
    Exception in thread "Thread-23" java.lang.NoClassDefFoundError: Could not initialize class org.dreambot.api.script.loader.LocalLoader
    	at org.dreambot.0.1.1.3.4.0(4.java:643)
    	at org.dreambot.0.1.1.3.4.0g(4.java:499)
    	at java.lang.Thread.run(Thread.java:748)

     

    Link to comment
    Share on other sites

    On 5/4/2020 at 3:59 PM, XZybez said:

    Gear One, thank you.

    Do you have any idea why the error might happen?
     

    Java Version  + Same in Intellij.

    
    java version "1.8.0_131"
    Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

     

    I did also install the .jar to the Maven as in the git explained. On "refresh" scripts i get the error massage that the Script been complited with Higher Version.


     

    
    Exception in thread "Thread-20" java.lang.UnsupportedClassVersionError: module-info has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
    	at java.lang.ClassLoader.defineClass1(Native Method)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
    	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    	at org.dreambot.api.script.loader.LocalLoader.loadJar(LocalLoader.java:302)
    	at org.dreambot.api.script.loader.LocalLoader.loadJar(LocalLoader.java:265)
    	at org.dreambot.api.script.loader.LocalLoader.traverse(LocalLoader.java:207)
    	at org.dreambot.api.script.loader.LocalLoader.loadScripts(LocalLoader.java:171)
    	at org.dreambot.api.script.loader.LocalLoader.<clinit>(LocalLoader.java:142)
    	at org.dreambot.0.1.1.3.4.0(4.java:639)
    	at org.dreambot.0.1.1.3.4.0r(4.java:631)
    	at org.dreambot.0.1.1.3.4.0x(4.java:625)
    	at org.dreambot.0.1.1.3.4.0s(4.java:357)
    	at org.dreambot.0.1.1.3.4.0q(4.java:106)
    	at java.lang.Thread.run(Thread.java:748)
    Exception in thread "Thread-23" java.lang.NoClassDefFoundError: Could not initialize class org.dreambot.api.script.loader.LocalLoader
    	at org.dreambot.0.1.1.3.4.0(4.java:643)
    	at org.dreambot.0.1.1.3.4.0g(4.java:499)
    	at java.lang.Thread.run(Thread.java:748)

     

    https://crunchify.com/how-to-fix-java-lang-unsupportedclassversionerror-class-has-been-compiled-by-a-more-recent-version-of-the-java-runtime/

    This might help you

    Link to comment
    Share on other sites

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.