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.
method/step
-
Enter the CMD command in the start menu to bring up the DOS operation window
-
Enter the command java -version, query the number of Java bits through the DOS command, and display 64-Bit Server.
-
Open the Eclipse installation directory and find the file eclipse.ini.
-
Open the file eclipse.ini and find "win32.win32.x86," as shown below.
-
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.