Tag Archives: failed to load the jni shared library

Solve the problem of “failed to load the JNI shared library” when eclipse starts

How to solve the problem of failed to load the JNI shared library when starting eclipse

Problem Description: when you start eclipse, the following pop-up box appears

At this time, it means that the bits of Eclispe and JDK do not match. At this time, you can check the number of bits corresponding to eclipse and JDK.

Solution steps:

1. Check the version number and digits of JDK

The method is as follows: enter the following command under CMD: Java – version

At this time, if the number of bits of the JDK is not displayed, it means that the JDK is 32 bits

If Java hotspot (TM) 64 bit is displayed, it indicates that the version of this JDK is 64 bit

2. Check the version and number of bits of eclipse

The method is as follows: open the eclipse decompression directory and find the eclipse. File

Then open it with Notepad

If win32.win32.x86_ 64 means that the eclipse version is 64 bit

32-bit version if win32.win32.x86

3. Solution:

Unify the number of bits of JDK and eclipse versions, both of which are 32-bit or both are installed as 64 bit.

failed to load the jni shared library

After chopping hands, the fraud call came before the express delivery was received. How to improve the privacy and security of e-commerce>>>

Today, when installing dbeaver, it will be reported that javaw.exe cannot be found after startup. Add the path of javaw.exe in the system path

After restart, an error is reported: failed to load the JNI shared library… Jvm.dll

Check the existence of jvm.dll in the path

After querying the data, we found that we used win7 64bit version and installed JDK 32bit version

The problem of installing JDK 64bit after uninstall is solved

[end of full text]

failed to load the jni shared library

After chopping hands, the fraud call came before the express delivery was received. How to improve the privacy and security of e-commerce>>>

Today, when installing dbeaver, it will be reported that javaw.exe cannot be found after startup. Add the path of javaw.exe in the system path

After restart, an error is reported: failed to load the JNI shared library… Jvm.dll

Check the existence of jvm.dll in the path

After querying the data, we found that we used win7 64bit version and installed JDK 32bit version

The problem of installing JDK 64bit after uninstall is solved

[end of full text]