-
Bug
-
Resolution: Duplicate
-
None
-
1.17 Pre-release 1
-
None
-
Windows 10, played on Java 8 Update 291 (Class file version 52.291)
-
Unconfirmed
-
(Unassigned)
I wanted to play Minecraft 1.17-pre-release 1 but it gives me a JNI error. I can't take a picture because I can't play it. This is what the error said: Error: A JNI error has occurred, please check your installation and try again. When I press OK, I get another error that says: A Java Exception has occurred. When I press OK, it gives me this crash game output saying:
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future releaseJava HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future releaseException in thread "main" java.lang.UnsupportedClassVersionError: net/minecraft/client/main/Main has been compiled by a more recent version of the Java Runtime (class file version 60.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).
I think it only works on the full release of Minecraft 1.17.
Please make the pre-release compatible for Java class file version 53.0.
=================EDIT=====================
I just found out that 1.17 only works on Java 16. Please close.
- duplicates
-
MC-225505 A JNI error has occurred, please check your installation and try again
- Resolved