5
votes

Every time I try to start Eclipse, it says

Failed to load the JNI shared libraby "C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll"

I have no clue why this happens, because I reinstalled JDK, JRE and Eclipse multiple times. All the 64 bit version (I've got Windows 7 64 bit)

5
Something is not 64 bit if it is looking in Program Files (x86).greg-449
Have you tried the answers in these links: link1 and link2nmenego
you most likely have wrong version of java installed like jdk-7u51-windows-i586 if you are trying to install 64 the name of downloaded file shold be like jdk-7u51-windows-x64Muhammad Umer
however for some reason getting it to download right is also an issue...1st time you download its 64mb and broken, 2nd time like 12 mb..and finally 4th time it was 125mb..??Muhammad Umer
Thanks for this question. Solved my query at crucial time.Shashank_Itmaster

5 Answers

2
votes

Alright, it somehow worked using the 32 Bit version of Eclipse...

1
votes

If you have installed all 64 bit version of Eclipse and JDK, you can check your system environment variable. Probably you set on old JAVA_HOME path pointing to

"C:\Program Files (x86)\Java"

0
votes

I had the same problem: in my case everything was in fact 64-bit - 64-bit OS, 64-bit Eclipse and 64-bit JRE in use, so there was some confusion as to the origins of the issue...

What helped was correcting environmental variables JAVA_HOME and PATH - and pointing them directly to

.../My/Java/Location/bin

instead of

.../My/Java/Location
0
votes

If eclipse is 32bit then, eclipse.ini file specify -vm C:\Program Files (x86)\Java\jre\bin\javaw.exe

If eclipse is 64bit then, eclipse.ini file specify -vm C:\Program Files\Java\jdk\jre\bin\javaw.exe

Summary: specify compatible java version path ( 32 bit or 64 bit ). -vm %JAVA_HOME%\jre\bin\javaw.exe

-1
votes

Just try to download this if you have 64 bit OS windows.Hope it will work :)