Results 1 to 3 of 3
  1. #1
    Moncler Genius's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Location
    Sweden
    Posts
    83
    Reputation
    10
    Thanks
    6
    My Mood
    Tired

    Can't run the things i compiled

    I just started learning Java and i compiled a simple program which prints out the word "Hello world" in cmd. When i try to run the program using the following command "java Hello" i get an error message that states the following: Error: A JNI error has occurred, please check your installation and try again
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Hello has been compiled by a more recent version of the Java Runtime (class file version 55.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(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknow n 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.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 sun.launcher.LauncherHelper.checkAndLoadMain(Unkno wn Source)

    And before calling me retarded i've looked for a newer version of JRE and i couldn't find anything above version 8, if there is a newer release of JRE please point me to it.

  2. #2
    mnwd's Avatar
    Join Date
    Aug 2019
    Gender
    male
    Location
    Germany
    Posts
    104
    Reputation
    18
    Thanks
    13
    Format whole PC and reinstall

  3. #3
    Bababam's Avatar
    Join Date
    Nov 2020
    Gender
    female
    Posts
    6
    Reputation
    10
    Thanks
    1
    It usually means that one If your resource jars is compiled with a version of Java that�s not compatible with the jre that you are using to execute the bytecode. Check to see which class files and jar files are accessible on your class path.
    [code]
    System.out.println(�class.path�);
    [code]

Similar Threads

  1. [Solved] how can i run the hacks as admin
    By hackzoppened in forum Alliance of Valiant Arms (AVA) Help
    Replies: 8
    Last Post: 12-26-2012, 05:53 AM
  2. [Help] How can i run the injector?
    By lowell155 in forum Point Blank Hacks
    Replies: 0
    Last Post: 10-18-2011, 10:21 AM
  3. [Help] Can't Run the Server .exe
    By Ceiling Cat in forum Battlefield 3 (BF3) Hacks & Cheats
    Replies: 0
    Last Post: 10-01-2011, 09:08 PM
  4. [Discussion] How come when creating clans we can't use the ™ thing any more?
    By Mr-[S]nipe in forum CrossFire Discussions
    Replies: 16
    Last Post: 06-30-2011, 04:15 AM
  5. How Can i Run The CA HAcks ??
    By prs7 in forum Combat Arms Discussions
    Replies: 7
    Last Post: 12-02-2009, 02:39 AM