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 184.108.40.206. i have javaRE 8.291 and javaDK 16 installed on my pc.