Failed to load the JNI shared library jvm.dll on Intellij Idea or Eclipse
原创文章标签 Failed to load the J 文章分类 Java 编程语言
©著作权归作者所有:来自51CTO博客作者mmqzlj的原创作品,请联系作者获取转载授权,否则将追究法律责任
Failed to load the JNI shared library jvm.dll on Intellij Idea or Eclipse
https://blog.51cto.com/mmqzlj/1135632
Failed to load the JNI shared library jvm.dll on Intellij Idea or Eclipse
https://blog.51cto.com/mmqzlj/1135632
用Intellij 不久,对Intellij 的设置不是很了解。今天调试android项目,为了方便android ui 调试,下了intellij idea 12,安装后直接运行,代码运行正常。想要打开DDMS时,却发现DDMS打不开了,提示“Failed to load the JNI shared library c:/jdk1.6.0_xxx/xxx/jvm.dll”.在stackoverflow上搜索到答案说是因为64位和32位的兼容问题。intellij 和 JDK 必须都为32位或者都为64位才可以。由于我的操作系统是64位的,下载了新的64位的JDK,在INTELLIJ IDEA --->File-->Project Structue里重新设置JDK版本,同时在idea 12目录下找到idea64.exe重新启动后终于可以看到DDMS界面了。
总之一句话,碰到“Failed to load the JNI shared library jvm.dll”提示的话,确保IDE版本和JDK版本一致即可,对于ECLIPSE下出现这种情况也同样适用哦!
举报文章
请选择举报类型
内容侵权
涉嫌营销
内容抄袭
违法信息
其他
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M

提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法
(2)copy一个jvm.dll放在该目录下。原因2:eclipse的版本与jre或者jdk版本不一致对策:要么两者都安装位的,要么都安装32位的,不能一个是32位一个是位。原因2的概率更大一些,原因1不太可能发生
eclipse报错 Failed to load eclipse启动 环境变量 eclipse 重新安装 -
Eclipse指定JDK版本 Failed to load the JNI shared JVM.dll
Eclipse指定JDK版本 Failed to load the JNI shared JVM.dll
java java教程 java开发 eclipse