Recently open Eclipse to report an error, as shown in the figure below:

The reason:
The JDK is not compatible with the Eclipse version, and an open error occurs: Failed to load the JNI Shared Library… That’s the question. This is usually due to a discrepancy between the native-installed (32bit/64bit) version of Eclipse and the JDK (32bit/64bit).
JDK (x86 32BIT, x86_64 64bit)
Eclipse (x86 32bit, x86_64 64bit)
Solution: Reinstall the JDK or reinstall Eclipse.
Inspection method:
1. First check how many bits is the JDK on your machine?
Type in Java-Version, and a 64bit JDK will normally be displayed, while a 32bit JDK will generally be not.

2. Check how many bits of Eclipse are installed?
Go to your Eclipse installation directory, open Eclipse.ini as a text file, and find the line below –launcher. Library, which shows 32bit if win32.x86 and 64bit if win32.x86_64.

I chose to reinstall the JDK, so be sure to modify the environment variables on your machine.
Click the hyperlink on the right to download the JDK you want

The reason:
The JDK is not compatible with the Eclipse version, and an open error occurs: Failed to load the JNI Shared Library… That’s the question. This is usually due to a discrepancy between the native-installed (32bit/64bit) version of Eclipse and the JDK (32bit/64bit).
JDK (x86 32BIT, x86_64 64bit)
Eclipse (x86 32bit, x86_64 64bit)
Solution: Reinstall the JDK or reinstall Eclipse.
Inspection method:
1. First check how many bits is the JDK on your machine?
Type in Java-Version, and a 64bit JDK will normally be displayed, while a 32bit JDK will generally be not.

2. Check how many bits of Eclipse are installed?
Go to your Eclipse installation directory, open Eclipse.ini as a text file, and find the line below –launcher. Library, which shows 32bit if win32.x86 and 64bit if win32.x86_64.

I chose to reinstall the JDK, so be sure to modify the environment variables on your machine.
Click the hyperlink on the right to download the JDK you want
Read More:
- Java was started but returned exit code = 13
- Start Eclipse and pop up the “Failed to load the JNI shared library jvm.dll” dialog box
- Solve the problem of failed to create the Java virtual machine when eclipse is opened
- Error: could not create the Java virtual machine Error:A Fatal exception has occurred
- How to solve the problem of “version 11 or greater is required” in eclipse 2020
- Error running Eclipse: failed to load the JNI shared library
- When Dbeaver starts on Mac, it reports an error: “fail to create java virtual machine”
- Version 1.8.0_201 of the JVM is not suitable for this product. Version: 11 or greater is required.
- Eclipse specifies JDK version to start, and resolves version XXXX of the JVM is not suitable
- Eclipse reports Failed to load the JNI shared library jvm.dll error solution
- Aptana studio 3 installation
- Solve the software startup error while loading shared libraries: libgd. So. 2: cannot open shared object error
- Solution to the problem of no C / C + + option in the new project of eclipse
- Eclipse can’t open an error: Error:could not find java SE Runtime Environment/Error: could not find java.dll
- Solution: PIP install MySQL Python has the following problems
- To solve the problem, start eclipse and return exit code = 13
- @Solution to get / set error in eclipse after using data annotation
- Vs2015 + PCL. 1.8.1 (win10) environment configuration
- Solutions to errors in virtual machine running in Android studio
- CMD input Java error could not create the Java virtual machine