启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
来源:互联网 发布:手机经纬度查询软件 编辑:程序博客网 时间:2024/06/04 01:19
原因1:给定目录下jvm.dll不存在。
对策:(1)重新安装jre或者jdk并配置好环境变量。(2)copy一个jvm.dll放在该目录下。
原因2:eclipse的版本与jre或者jdk版本不一致
对策:要么两者都安装64位的,要么都安装32位的,不能一个是32位一个是64位。
原因2的概率更大一些,原因1不太可能发生
(如果图片在这里显示不了,请点击黑色图片!)
首先,我们来查看JDK是多少位的,在搜索框中输入cmd,然后打开命令行窗口。
在命令行中输入java -version ,查看JDK是多少位,一般显示64位的就是64为JDK,未显示的一般为32位的JDK。下图中显示64位,说明是64位JDK。
然后,我们来确定eclipse是多少位的。我们打开eclipse的安装目录,右击eclipse.ini文件以记事本的方式打开。
查看--launcher.library下面的一行,如果显示的是win32.x86则表明eclipse是32位的,如果显示的win32.x86_64,则是64位的。从下图可知,这个eclipse是32位的,所以JDK与eclipse不兼容,会出现Failed to load the JNI shared library这个问题。
解决这种问题有两种,一是重新安装JDK,二是重新安装eclipse。因为安装JDK比较麻烦,所以这里我们选择第二种方法重新安装eclipse。
0 0
- 启动 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” 错误的解决方法总结
- 启动 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”错误的解决方法
- 启动 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”错误的解决方法!
- 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”错误的解决方法!
- android webView的使用
- HTML基础:META标签设置了utf-8还是乱码的问题
- oracle11g客户端如何完全卸载
- caffe 激活层
- 查询数组中每个数 出现的次数
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- 影院售票座位的设计
- Tomcat配置虚拟路径,使上传文件与服务器及工程文件分离开
- 刷清橙OJ--A1010.进制转换1
- 影响图像质量的参数
- Maven插件-打包时多环境配置文件设置
- 修改IDA pdb下载目录的方法(已实践)
- 异常处理
- 通俗易懂的数据库范式解释