打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Eclipse: Failed to load the JNI shared library "C:\Program Files(x86)\Java\jdk1.7.0_15\bin\..\jre\bi

I'm trying to install Eclipse. I have done the following in order to install.

  • Installed JDK 7u15 64 bit (actual download name:jdk-7u15-windows-i586.exe) in C:\Program Files(x86)\Java\JDK 1.7.0_15

  • I Ran cmd in administrator and typed "C:\Users\Alfred>java -version" which gave me"Java version "1.7.0_15" java(TM) SE Runtime Enviroment (build 1.7.0_15-b03) Java Hotspot(TM) Client VM (build 23.7-b01, mixed mode, sharing)

  • In the same cmd window i typed "C:\Users\Alfred>javac -version" which gave me "javac 1.7.0_15"

Both these last two points should mean my path is set to the right place correct?

  • I downloaded eclipse IDE for Java developers 64 bit (actual download name:eclipse-java-juno-SR1-win32-x86_64.zip) and unzipped it to my desktop

  • I've tripled checked that my system is 64 bit(Start>Control Panel>System>System type:64 bit operating system)

  • I've found and deleted java.exe and javaw.exe from C:\windows\system32 which resolved the error message "C:\Program Files\Java\jre7\lib\amd64\jvm.cfg'

My problem as of now is the following error message when i try to start eclipse:

  • Failed to load the JNI shared library "C:\Program Files(x86)\Java\jdk1.7.0_15\bin..\jre\bin\client\jvm.dll

I've made sure that this .dll file is there. I have looked around and everyone says to make sure everything is 64 bit. I have no clue what to do now. How I fix? Any and all help is greatly appreciated.

asked Feb 20 '13 at 16:22
up vote 7 down vote accepted

jdk-7u15-windows-i586.exe is not 64bit.

Reinstall Java 7 for 64 bits.

answered Feb 20 '13 at 16:29
Fazovsky
1,38031531
    
============================== – Alfred Bowley Feb 20 '13 at 17:20
1  
You were completely right. God damn it. Thank you so much, this was driving me crazy. – Alfred Bowley Feb 20 '13 at 19:47
    
now why would that happen i followed direction correctly so how did i end up installing something that wasn't 64 bit hmmmmm – Muhammad Umer Mar 25 '14 at 19:14
    
Where do I find download link, for Windows 7 OS? – Mike Warren Sep 27 '15 at 8:00
    
There is no difference between JDKs for different windows versions. There are only different versions for 32/64 bits. Download directly from Oracle site. Type: "java jdk" in google and use first results. – Fazovsky Sep 27 '15 at 10:10

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Win8.1 中 配置JDK + Eclipse
Android之开发环境搭建
Java 8 之 Windows XP下的安装
Win7 配置Android开发环境
搭建android环境
如何使用eclipse进行嵌入式Linux的开发
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服