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.

Similar Posts: