|Re: Failed to load JNI shared library [message #545075 is a reply to message #544613]
||Tue, 06 July 2010 14:47
| Eric Rizzo
Registered: July 2009
On 7/4/10 6:28 PM, Guido Stein wrote:|
> HI all,
> I am getting the following error message when I try to run
> explipse:Failed to load JNI shared library "Program Files
> I am trying to use the Eclipse Release 3.6.0 which was last revised June
> 2, 2010.
> I am running Vista home premium. I am running the exe as an admin. I
> have not put the eclipse folder into the program folder area.
> I added the following to my ini file
> C:\Program Files (x86)\Java\jdk1.6.0_20\jre\bin
First, make sure that you're version of Eclipse and JDK match, either
both 64-bit or both 32-bit.
Second, the -vm argument in eclipse.ini must point to the java
executable, not just the directory. See
http://wiki.eclipse.org/Eclipse.ini for examples.
Hope this helps,
> My ini is as follow
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1. 0.v20100503
> C:\Program Files (x86)\Java\jdk1.6.0_20\jre\bin
> My computer return the following from "java -version"
> java version "1.6.0_20"
> Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
> Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
> Please let me know if you have any thoughts about how to resolve this.
|Re: Failed to load JNI shared library [message #559441 is a reply to message #545343]
||Thu, 16 September 2010 15:36
Registered: December 2009
I had exactly the same problem, the following error message:|
Failed to load the JNI shared library "C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll".
and your previous posts helped me solve it, so thanks a lot!
I am running Windows 7, and I knew it was a 64-bit machine with the ability to run 32-bit apps, but I downloaded the 64-bit version of Eclipse.
Eclipse first said I had no version of Java; it wasn't true, but Java was not in the PATH. Still, not knowing any better I downloaded and installed the latest version of Java.
I finally figured out how to add Java to the PATH. Now, when I opened up a CMD prompt and typed Java, Windows was able to find it. Progress.
The error message from Eclipse changed from not finding Java at all to the one of this thread.
Hmmm. Much head scratching and reinstalling and I was stuck.
Problem was that I was trying to run the 64-bit version of Eclipse, and Javea was the 32-bit version, shown by the fact it was installed in the "C:\Program Files (x86)" directory and not in the "C:\Program Files\" directory.
I could not figure out how to get a 64-bit version of Java. Hmmm. Never mind. Instead downloaded the 32-bit version of Eclipse.
Now I have both Eclipse and Java as 32-bit and both work together great!!
So thanks for all your help!
I would say, it would be better if Eclipse could somehow detect that which version of Java is being run and give a more helpful message like:
This is the 64-bit [32-bit] version of Eclipse, but the version of Java is 32-bit [64-bit] and the two are not compatible.
Either change the version of Eclipse or the version of Java to be compatible.
That would help people go straight to the solution.
|Re: Failed to load JNI shared library [message #1097586 is a reply to message #544613]
||Thu, 29 August 2013 23:20
| ryk rod
Registered: August 2013
All I Know Is Through All The Struggle Tryna Get Eclipse To Work, |
First after downloading and running Eclipse(x64bit)
I've Gotten The Errors:
A java Runtime Environment (JRE) or Java Development kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: C:\eclipse\jre\javaw.exe javaw.exe in your current PATH
I Tried Changing Paths On My Remote Setting from Control Panel, I Made A Path To Where My Java(x64bit) was installed.
Retried Loading The Eclipse Application and It Started Running But,
I Got A New Error:
Failed to load the JNI shared library "C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll
Anyways, None Of This Was Working And I Made Sure I Downloaded Both Eclipse(x64bit) and I Went To Java To Download The Java(x64bit)
It Said I Had The Current Java Intalled Already Up To date.
Still Didn't Work.....
But, I Saw Someone Saying They Might Have Had Java(x32bit) Running Even Though They Installed Java(x64)....They Tried Eclipse(x32bit) and It Worked For Them.
I Been Tryna Use Eclipse(x64bit) Because, Well You Know, I Usually Get/Run x64Bit.
But Never Worked For Eclipse.
So, I Deleted All The Eclipse and Downloaded The Eclipse(x32bit)
Extracted, Ran The Eclipse Application,
And It Loaded Up And Worked Right Away.
I Didn't Even Have To Change Path Unless Because I Already Have A Path In Remote Settings.
Anyways, It Worked, I Advise You Trying Both Eclipse (x32bit)/(x64bit).
If None Runs Try Going To
Control Panel / System / Remote Settings / Advance Tab / Enviroment Variables /
If You Dont Have A PATH On Top, Click New And Make PATH With Directory to Wherever Your Java Is Installed.
Bottom One Edit To Directory to Wherever Your Java Is Installed.
I Never Post So Thank Me If This Helps
Powered by FUDForum
. Page generated in 0.23988 seconds