


If none if this works, please contact Community Support.

If you are running a server with a host, contact the host. Try uninstalling Java 8 and restart your computer to make sure you are running Java 16. To make sure on Windows 10, the file properties should look like this: Server: If you are running a server on your computer, make sure that AdoptOpenJDK is running the. Contact your launcher maintainers if you cannot switch or do not know how to switch to Java 16. To do so, change the Java executable runtime to target " javaw.exe" in C:\Program Files\Java\jdk-16.0.1\bin\javaw.exe or where you installed Java 16. 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
