How to troubleshoot startup Eclipse failed to load the JNI shared library issue
Problem Description: When you start Eclipse, the following popup box appears
At this point, the mismatch between the Eclispe and the JDK bit number is the result. You can then look at the number of bits that eclipse and JDK correspond to.
Steps to resolve:
1. View the JDK version number and number of digits
The method is as follows: CMD enter the following command: Java-version
If the number of bits in the JDK is not displayed, the JDK is 32-bit
If Java HotSpot (TM) 64-bit is displayed, the version of this JDK is 64-bit
2. View the version and number of bits of eclipse
Here's how: Open the Eclipse decompression directory and find the eclipse. File
Then use Notepad to open
If win32.win32.x86_64 indicates that the eclipse version is 64-bit
32-bit version if it is win32.win32.x86
3. Solution:
The number of version bits for the unified JDK and Eclipse, both 32-bit or both, are installed as 64-bit.
Resolution "Failed to load the JNI shared library" appears when Eclipse starts