JNI Error In Minecraft Server. In this article, we will discuss how to fix JNI error in the Minecraft server. Many users have reported that while launching Minecraft a “JNI error has occurred, please check your installation and try again” message appears. This is because the JAVA version installed in your system is not compatible with the system. It can be too outdated or too new for the system.
How To Fix A JNI Error In Minecraft Server?
Follow the methods given below to solve this issue:
Method 1 – Install The Latest Version Of the Java JDK:
An outdated Minecraft JAVA version can be causing this error. To download and install the latest version of JAVA, follow the steps:
1.Make sure that the Minecraft launcher is closed.
2.Open the “Official Websitehttps://www.oracle.com/java/technologies/downloads/#jdk18-windows”.
3.Download the latest version of Java.
4.Choose the version according to your system.
5.After downloading the file, extract the file.
6.Now click on the setup executable to start the installation process.
7.Follow the instructions to complete the process.
8.After the installation, restart the system.
9Check if the issue has been fixed.
Method 2 – Reset The Java Path:
To solve the error, reset the path variable of JAVA. It might be sometime incorrect, due to which the JNI error can occur. To reset the path variable of JAVA, follow the steps:
1.Press Windows + R keys to open the Run Utility.
2.Type sysdm.cpl in the dialog box.
3.Press the Enter button.
4.Click on the Advanced tab from the System Properties window
5.Next select Environment Variables option.
6.After the Environmental Variables window opens, go to the System Variables section.
7.Locate the Path option.
8.Click on the Edit button.
9.From the next window find and choose the Java variables.
10.Select the Delete button.
11.Restart the PC and launch the Minecraft.
12This time you will not get the JNI error.
featured image source: https://xboxplay.games/