failed to load the jni shared library

The problem is mainly caused by the different versions of jdk and eclipse;

When I start Eclipse , I get an error: Failed to load the JNIshared library . This problem is because the number of digits of the two softwares, Java and Eclipse, is different. One is 32-bit and the other is 64-bit. There is a conflict, so it can't be used. The solution It is to check the digits of the two software first, then uninstall one, download and install it again, and it will be solved.

How to solve Failed to load the JNIshared library
 

method/step

 
  1.  

    Enter the CMD command in the start menu to bring up the DOS operation window

    How to solve Failed to load the JNIshared library
  2.  

    Enter the command java  -version, query the number of Java bits through the DOS command, and display 64-Bit Server.

    How to solve Failed to load the JNIshared library
  3.  

    Open the Eclipse installation directory and find the file eclipse.ini.

    How to solve Failed to load the JNIshared library
  4.  

    Open the file eclipse.ini and find "win32.win32.x86," as shown below.

    How to solve Failed to load the JNIshared library
  5.  

    Through the above query, it can be concluded that JAVA is 64-bit, and Eclipse is 32-bit, so an error is reported at startup. The solution is to uninstall one, and then download and install it again. Generally, a 64-bit Eclipse is reinstalled.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324635850&siteId=291194637