Eclipse 错误:无法加载 JNI 共享库“C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10966830/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 18:20:17  来源:igfitidea点击:

Eclipse error: Failed to load the JNI shared library "C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll

javaandroideclipsejava-native-interface

提问by Prashant

Possible Duplicate:
Failed to Load the JNI shared Library (JDK)

可能重复:
无法加载 JNI 共享库 (JDK)

I have download new classic eclipse 64 bits i also changed in eclipse.ini and android jdk tools also install but still getting below error. Failed to load the JNI shared library "C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll how to solve problem?

我已经下载了新的经典 Eclipse 64 位,我也在 eclipse.ini 和 android jdk 工具中也进行了更改,但仍然低于错误。无法加载 JNI 共享库“C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll 问题如何解决?

Please Help me.

请帮我。

回答by Vipul Shah

C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll how to solve problem?

C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll 如何解决问题?

From this what i am seeing is you are using 32 bit version of java.

由此我看到的是您使用的是 32 位版本的 java。

To overcome this issue you must install 64-bit version of Java.

要解决此问题,您必须安装 64 位版本的 Java。

回答by ninge

Try to set your computer's path (in environmental variables) to the bin file of your Java JDK ( C:\Program Files (x86)\Java\jre6\bin).

尝试将计算机的路径(在环境变量中)设置为 Java JDK 的 bin 文件(C:\Program Files (x86)\Java\jre6\bin)。