安装Eclipse时错误

上一篇 / 下一篇  2012-12-20 17:34:18 / 个人分类:selenium

安装eclipse报错:
 Failed to load the JNI shared library "C:\Program Files\Java\jdk1.6.0_10\bin..\jre6\bin\client\jvm.dll"文件时

出错原因:
  我安装JDK1.6.0_10 ,bit:32,安装Eclipse为Bit:64 ,版本不匹配。
解决方法:
  卸载JDK1.6.0_10,bit:32,重新安装 jdk1.6.0_38,bit:64,在安装Eclipse
  在此过程过程中,再次遇到问题:安装jdk1.6.0_38失败,这个问题折腾了我半天,最后终于查出为原来的JDK1.6.0_10未卸载干净,在sun官网看到一段话:
  If the normal unistallation process(as mentioned above)fails,then please try Microsoft
Windows Installer CleanUp Utility.This tool will ensure that all irrelevant Java Runtime
Environment Microsoft Installer(msi)registries are removed.Detailed information and download
is available at:Description of the Windows Installer CleanUp Utility.
 于是,我下载CleanUp Utility安装后,remove JDK,成功后,再次安装jdk1.6.0_38,然后配置环境变量:
  JAVA_HOME,Path,CLASSPATH,配置成功后,再次安装eclipse,成功运行。

TAG:

 

评分:0

我来说两句

Open Toolbar