

To fix this issue, download the AdoptOpenJDK and follow the steps below for the client or server.Ĭlient: Make sure that your launcher is running Java 16. If you are using a custom Java setup or a third-party launcher, you will need to ensure that your Java installation is version 16 or above. If you are using a default setup the Launcher will download and install the correct version. Minecraft now uses a more recent version of Java.

Minecraft has was updated to use Java 16 as per the 21w19a changelog: This error happens when you launch the client (the game) or server (the. A JNI error has occurred, please check your installation and try againĮxception in thread "main" : net/minecraft/server/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
