Eclipse Error – Failed to load the JNI shared library "C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll"
Today I thought to check with new Version of eclipse - Helios. I have download the eclipse, which was a good 143 MB and it took quite some time to download. When I tried to start the eclipse it does not worked. Eclipse gave me this error:- Failed to load the JNI shared library "C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll"

I have done exactly I had done with earlier version. I just dumped the folder in "C:" after unzipping it. and then I double clicked on eclipse.exe file. But this time it does not worked and instead given error. Actually it has given other error earlier related to javaw.exe also. So, I have downloaded fresh version of java whereas Java site was telling I have new version of Java already installed.
Then, for solving the problem, I have tried various other method I thought. Used command line, restarted the system as I have installed the fresh version of Java and others. I have read this setting to start Eclipse with installer API:
>java -jar plugins/org.eclipse.equinox.launcher_1.0.0.v20070208a.jar
Here number after launcher_* can be different for you. As I said there, I am telling you as well. Give the full path to plugins folder also. Did it solved the problem for you! It has not solved for me.
Then, I have tried this solution:
Used this argument --launcher.library <path/to/eclipse shared lib> for staring eclipse. Though there was no reason for this error as I have not done anything with plugins. Plugins was at their usual location.
Try:
>eclipse --launcher.library <path/to/eclipse shared lib>
Did this solution worked? Not for me.
Then I got another solution and I have thought it will work. By look this solution looks better.
>eclipse.exe --launcher.suppressErrors
Again, it has not worked for me. Try this solution as if it works for you then you do not have to download a new 32-bit version of Eclipse. Yes, I read in the process that Java version installed may be of 32-bit as IE may be of 32-bit version. Many software are 32-bit today even if your system is 64-bit like my system. Thinking for installing 64-bit of JRE and then thinking of IE etc was a big headache, so I thought of content with 32-bit of eclipse.
Before trying to download a 32-version copy, please read here at eclipse site and see if you find anything useful there.

Try to install windows32 bit version of eclipse. I guess you installed 64bit version but your jdk in 32 bit directory (Program Files x86) there might be a confliction I dont know the reason but when you try it with eclipse 32bit the problem will be solved
ya, That is what I have written at the bottom.
Try this
eclipse -vm c:/java/bin/java.exe
Make sure you have both 64-bit JVM and Eclipse
I have a 64 bit Windows 7, didn't check if I had the 32 or 64 bit Java installed. Easy and fast check to do, is whether or not your Java folder is in Program Files or Program Files(x86). If you've got both of these maps and it's in the x86 one, you'll need the 32 bit download. You might wanna move that tip up from the bottom to the top, it shouldn't take more then 10 secs to check.
Thanks for the tip though, such a basic mistake.
Thanks for the information.
I've got this problem also, and I managed to solve it.
The tricky part is that you have to install JVM 64 bit, but it's not easy to find it in Java's site.
The correct link is:
http://www.java.com/en/download/windows_ie-64bi…
Let me know if this works for you…
works perfectly. thanks for this hint.
Tyron works perfect! the trick is to access this link via IE 64 bits
I have both 32 & 64 VMs.
To solve it (using the 32bit VM), I added this to the top of eclipse.ini (each in its own line):
-vm
C:Program Files (x86)Javajre6bin
i download Eclipse Classic 3.6.1 for windows 64 bit. i faced the same problem. please send me the correct link for java running environment kit.
@yogesh
I have solved it using 32 bit eclipse as JVM and IE can create problem. Instead of going that long way I have used 32 bit eclipse. 64 bit IE has come but with condition. You decide.
My issue was I added a path to one of my JDKs to the system Path variable. Once I removed it Eclipse launched just fine.
I changed the system variables PATH to my program files java jre6 bin, NOT program files (x86)….now eclipse is running fine
“so I thought of content with 32-bit of eclipse.”
Me, too. My system hardware was not an x64 system, My windows os is 64 bit so I thought I should download 64 bit version, I did but it did not worked.
No, your system must be 64 bit then you can have 64 bit software.
@milad
Thanks Milad. This may help.
@Tyron
Awesome Dude. This works. JDK 1.5 was giving an error and I installed 64 bit version of 1.6 (relatively quick download) and Eclipse is happy.
Just install the JSE 6uX x64 (JSE 64-bit) on your machine. Remember to remove all previous versions of Java first.
64 bit eclipse is little bit @#$%
Download only 32-bit eclipse and enjoy its performance
have a java day folks