Article From:

Since JDK is installed with multiple versions, Failed to load the JNI shared library jvm.dll is popped up with other development tools when eclipse is opened one day.


Cause: Eclipse version is not consistent with JRE or JDK version.

Countermeasures: either 64 or 32 bits are installed, not one is 32 bits, one is 64 bits.


1、Let’s see how many bits JDK is, enter CMD in the search box, and then open the command line window. In the command line, enter Java -version to see how many bits JDK is. It is generally shown that 64 bits are 64 for JDK and 32 for JDK.


2、Let’s make sure the number of eclipse is. We open the installation directory of eclipse and right-click the eclipse.ini file to open it in Notepad. Check the following line in –launcher.library if win32.x8 is displayed.6 shows that eclipse is 32 bits, and if win32.x86_64 is displayed, it is 64 bits. From the diagram below, we can see that the eclipse is 32 bits, so if JDK is not compatible with eclipse, Failed to load T will appear.He JNI shared library.


Leave a Reply

Your email address will not be published. Required fields are marked *