eclipse启动时提示"Failed to load the jni shared library"
2013-01-12 13:15
441 查看
重装系统后启动eclipse时出现如下问题:
原来能正常使用的。网上搜索说是可能因为eclipse是64位的,JDK是32位的,所以出现这个问题。
于是查看eclipse是32位的还是64位的:
打开eclipse安装目录下的 eclipse.ini文件,如果launcher.library设置的值是 X86就是32位的,如果写的是X64就是64位的了(如图):
接着查看查看JDK是32位的还是64位的,使用如下代码:
public class JDKBit
{
public static void main(String[] args)
{
String arch = System.getProperty("sun.arch.data.model");
System.out.println("The version of JDK is " + arch + "bit");
}
}
检验完后发现我的eclipse和JDK都是32位的,没什么问题,继续查找,又有人说要降低JDK的版本,于是换成JDK1.6,结果还是不行,最后只好去官网又下载了个32的eclipse,仍然使用JDK1.7,解压启动,正常运行。
原来能正常使用的。网上搜索说是可能因为eclipse是64位的,JDK是32位的,所以出现这个问题。
于是查看eclipse是32位的还是64位的:
打开eclipse安装目录下的 eclipse.ini文件,如果launcher.library设置的值是 X86就是32位的,如果写的是X64就是64位的了(如图):
接着查看查看JDK是32位的还是64位的,使用如下代码:
public class JDKBit
{
public static void main(String[] args)
{
String arch = System.getProperty("sun.arch.data.model");
System.out.println("The version of JDK is " + arch + "bit");
}
}
检验完后发现我的eclipse和JDK都是32位的,没什么问题,继续查找,又有人说要降低JDK的版本,于是换成JDK1.6,结果还是不行,最后只好去官网又下载了个32的eclipse,仍然使用JDK1.7,解压启动,正常运行。
相关文章推荐
- 关于启动eclipse 的时候,出现弹框并且提示 “failed to load the JNI shared library "...
- Eclipse:启动时提示"Failed to load the JNI shared library"的解决方案
- Eclipse启动报错:Failed to load the JNI shared library " D:\java\jdk1.8.0\bin\..\jre\bin\server\jvm.dll
- 启动 Eclipse提示“Failed to load the JNI shared library jvm.dll”
- 启动 Eclipse提示“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动 Eclipse 有“Failed to load the JNI shared library jvm.dll” 错误提示
- 启动Eclipse时,出现 “Failed to load the JNI shared library "C:\Program Files\java\jdk1.7.....\jvm.dll"
- eclipse(优化五) eclipse启动时,报"failed to load the JNI shared library"的解决方案
- Eclipse启动提示Failed to load the JNI shared library JVM.dll
- Eclipse"启动"问题:Failed to load the JNI shared library jvm.dll
- Eclipse启动提示Failed to load the JNI shared library JVM.dll
- 启动 Eclipse 弹出 "Failed to load the JNI shared library jvm.dll "错误的解决方法
- Eclipse不能启动 提示Failed to load the JNI shared library“D:\Program Files\bin\client\jvm.dll
- 启动Eclipse 弹出"Failed to load the JNI shared library jvm.dll"错误
- 关于启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- Eclipse3.6.2 64位启动报“Failed to load the JNI shared library”错的解决方法
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!