Recently I started having some unexplained issues with Eclipse. Tried to fix it for a bit and failed, and I figured that I'd accidentally changed a setting somewhere that I wasn't aware of.
So I uninstalled Eclipse, downloaded it again and did a fresh install. When I try to run the application however, it pops up an error message saying: "Failed to load the JNI shared library "C:\Program Files (x86)\Java\jdk1.6.0\bin\..\jre\bin\client\jvm.dll".
I wondered if the problem might not have been with my jdk, so I moved the old one to another folder, downloaded it again, edited the path variable to point to the jdk's bin folder, and I'm still getting the error.
I just slapped together a quick Hello World program and compiled and ran it from the command prompt, so that still works.
How do I fix this?
Eclipse can't load jvm.dll
Page 1 of 14 Replies - 56206 Views - Last Post: 11 July 2010 - 03:38 AM
Replies To: Eclipse can't load jvm.dll
#2
Re: Eclipse can't load jvm.dll
Posted 09 July 2010 - 11:30 PM
See what happens when you do this:
1. Change at the command line to the directory containing jvm.dll
2. Do copy jvm.dll %WINDIR%
3. Start Eclipse
I'm not suggesting that's the ultimate solution - just try it first
1. Change at the command line to the directory containing jvm.dll
2. Do copy jvm.dll %WINDIR%
3. Start Eclipse
I'm not suggesting that's the ultimate solution - just try it first
#3 Guest_Aniket*
Re: Eclipse can't load jvm.dll
Posted 10 July 2010 - 09:18 PM

POPULAR
You are using eclipse 64 bit version and your jdk is 32 bit. Try installing 64 bit jdk or using 32 bit eclipse
#4
Re: Eclipse can't load jvm.dll
Posted 10 July 2010 - 10:19 PM
Aniket, on 11 July 2010 - 03:18 AM, said:
Try ... using 32 bit eclipse
You, sir, are my hero. Thank you.
Do you perhaps know how to get Eclipse to go back to running things as a Java Application by default? When I hit the run icon, it gives me a bunch of gibberish about incorrect usage of the command javaw. However, if I select Run as... Java Application from the menu or the icon, or use the keyboard shortcut to do it, it still runs fine. Just wish it was default behavior.
#5
Re: Eclipse can't load jvm.dll
Posted 11 July 2010 - 03:38 AM
Quote
You are using eclipse 64 bit version and your jdk is 32 bit.
How did you know?
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|