Failed to load the JNI shared Library (JDK)

前端 未结 30 2448
自闭症患者
自闭症患者 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:52

    If you use whole 64-bit trio and it still doesn't work (I've come to this problem while launching Android Monitor in Intellij Idea), probably wrong jvm.dll is being used opposed to what your java expects. Just follow these steps:

    1. Find the jvm.dll in your JRE directory: C:\Program Files\Java\jre7\server\bin\jvm.dll

    2. Find the jvm.dll in your JDK directory: c:\Program Files\Java\jdk1.7.0_xx\jre\bin\server\

    3. Copy the jvm.dll from JRE drectory into your JDK directory and overwrite the jvm.dll in JDK.

    Don't forget to make a backup, just in case. No need to install or uninstall anything related to Java.

提交回复
热议问题