G
Gossip Frenzy

Minecraft update from 1.16.4 to 1.17 java error occurs

Author

James Craig

Published May 08, 2026

i have minecraft version 1.16.4 on my pc. OS is windows 10. today I wanted to get new major update. when i run the launcher i got the error that said "minecraft does not detect java". so i uninstalled minecraft and java. i installed them again. but now after update i get this java error:

 [E] Error: A JNI error has occurred, please check your installation and try again [E] Exception 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

what should i do to fix this? (if any further information is needed please comment so i add them to my question)

minecraft launcher is ExtremeLauncher 3.9.5.0. i have javaRE 8.291 and javaDK 16 installed on my pc.

0

2 Answers

For anyone that may face this problem, you should change java address in your launcher to something like this: C:\Program Files\Java\jdk-16\bin\javaw.exe

Browse your pc for the right address before changing.

2

Uninstall or disable (under control panel-java) JRE, then install JDK again

1