lequietriot / RuneScape-MIDI-Player-Suite

A suite of experimental tools that I used for manipulating old runescape audio. No longer maintained/updated, please see the link for the latest project.
https://github.com/lequietriot/Old-School-RuneScape-Cache-Tools
47 stars 8 forks source link

A JNI error has occurred #6

Closed ghost closed 4 years ago

ghost commented 4 years ago

I got this error when i try to launch it. I have re-installed latest version of Java 8

image

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: main/Main has been compiled by a more recent version of the Java Runtime (class file version 56.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(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.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(Unknown Source)
lequietriot commented 4 years ago

@Toshiba1127 Are you trying to launch a released jar file, or are you using IntelliJ IDEA to build and run it?

ghost commented 4 years ago

I'm trying to launch it and also via CMD java -jar

lequietriot commented 4 years ago

@Toshiba1127 Try building it in IntelliJ IDEA instead, there were some issues with the jar file itself running properly in some cases.

ghost commented 4 years ago

I installed IntelliJ IDEA and it took me very long time to figure it out how to configure and build. It works, but gave up because it was too buggy. I got the mp3 from other sites I needed