Failed to load the JNI shared Library (JDK)

前端 未结 30 2361
自闭症患者
自闭症患者 2020-11-22 07:09

When I try opening Eclipse, a pop-up dialog states:

Failed to load the JNI shared library \"C:/JDK/bin/client/jvm.dll\"`.

Follow

相关标签:
30条回答
  • 2020-11-22 07:53

    Just check the PATH environment variable. In My Computer - > Properties -> Advanced System settings -> Environment Variables -> (left upper window "User Variables for "some name of PC"" ) just check the PATH variable. If it doesn't exist create it with the following -- > C:\Program Files (x86)\Java\jre7\bin <--

    I was faced with the same problem after had updated my Eclipse. I've found that the path asked 64-bit version, but I had the 32-bit in dif path. It was helpful for me. P.S.: I have a 64-bit OS, 32-bit JRE and 32-bit Eclipse. All works fine :)

    0 讨论(0)
  • 2020-11-22 07:53

    Make sure you are starting Eclipse with Administrator rights.

    0 讨论(0)
  • 2020-11-22 07:56

    You have change proper version of the JAVA_HOME and PATH in environmental variables.

    0 讨论(0)
  • 2020-11-22 07:57

    Downloaded 64 bit JVM from site and installed it manually and updated the system path variable. That solved the issue.

    1. Default JVM is installed in my system was in "C:\Program Files
      (x86)\Java\jre7"
    2. Manually installed JVM got installed in "C:\Program Files\Java\jre7" and after updating this pate to system path variable it worked.
    0 讨论(0)
  • 2020-11-22 07:57

    I had the same issue after upgrading from Java 6 to Java 7. After I removed Java 6 (64 bit) and reinstalled Java 7 (64 bit), Eclipse worked. :)

    0 讨论(0)
  • 2020-11-22 07:58

    I had a similar problem. It was solved doing the following.

    • Move Eclipse to Program Files (not to Program Files (x86)).
    • Remove the path to the 32-bit version of Java from the 'path' environment variable.

    I have both versions of Java installed, but Eclipse kept trying to use the 32-bit one.

    0 讨论(0)
提交回复
热议问题