Discussion Thread for "Failed to load JNI shared library"

classic Classic list List threaded Threaded
13 messages Options
buggybread buggybread
Reply | Threaded
Open this post in threaded view
|

Discussion Thread for "Failed to load JNI shared library"

Failed to load JNI shared library jvm.dll while starting eclipse on Windows 7 64 bit

Problem

Failed to load JNI shared library jvm.dll while starting eclipse on Windows 7 64 bit and eclipse 64 bit.

Cause

Incompatible java with eclipse. Both should be 64 bit.

Resolution

If eclipse is 64 bit , update Java in Path to C:\Program Files\Java\jre7

or else

check the Java location being referred by eclipse and copy the content C:\Program Files\Java\jre7 to eclipse jre location.
www.buggybread.com
Shreya Shreya
Reply | Threaded
Open this post in threaded view
|

Re: Discussion Thread for "Failed to load JNI shared library"

My windows is 64-bit and I have pointed my jdk C:\Program Files (x86)\Java\jdk1.7.0\bin is updated in the Path variable. eclipse Ganymede 64-bit is throwing error while opening the same error still.
Please help.
Johnny Johnny
Reply | Threaded
Open this post in threaded view
|

Re: Discussion Thread for "Failed to load JNI shared library"

Make sure that your Java is 64 bit too.

Just type java -version on prompt and see if  java is 64bit or not

You will get the following messsage if its 64 bit.

java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)
Nidhi Nidhi
Reply | Threaded
Open this post in threaded view
|

Re: Discussion Thread for "Failed to load JNI shared library"

In reply to this post by buggybread
How to know if windows is 64bit or 32 bit ?
buggybread buggybread
Reply | Threaded
Open this post in threaded view
|

Re: Discussion Thread for "Failed to load JNI shared library"

Control Panel -> System and Security -> System

Check System Type within System section.
www.buggybread.com
buggybread buggybread
Reply | Threaded
Open this post in threaded view
|

Re: Discussion Thread for "Failed to load JNI shared library"

In reply to this post by Johnny
This is a good way to know what version of java is actually running. Some people download the Java 64bit along with Java 32 bit but actually its Java 32 bit running at that time which might cause this problem.

Uninstall current Java 32 bit and then install Java 64 bit.
www.buggybread.com
PARU PARU
Reply | Threaded
Open this post in threaded view
|

Re: Discussion Thread for "Failed to load JNI shared library"

In reply to this post by Johnny
for my system its shown like
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
Pankaj Pankaj
Reply | Threaded
Open this post in threaded view
|

Re: Discussion Thread for "Failed to load JNI shared library"

Hi All,

I am facing the same issue. I am using operating system, JDK and eclipse version of 64 bits. Still I am facing the same issue. I have also added  -vm E:\Oracle\Middleware\jdk160_24\jre\bin to eclipse.ini file. Can anyone please tell me solution.
buggybread buggybread
Reply | Threaded
Open this post in threaded view
|

Re: Discussion Thread for "Failed to load JNI shared library"

In reply to this post by PARU
It is also likely that you might be having both the version ( 32bit as well as 64bit ). Can you please make sure that the directory specified in the PATH Environment variable pointing to the compatible JRE ( compatible with eclipse. )
www.buggybread.com
buggybread buggybread
Reply | Threaded
Open this post in threaded view
|

Re: Discussion Thread for "Failed to load JNI shared library"

In reply to this post by Pankaj
Can you please post the java version and Path entries here.
www.buggybread.com
Zen - Disqus Zen - Disqus
Reply | Threaded
Open this post in threaded view
|

Re: Discussion Thread for "Failed to load JNI shared library"

In reply to this post by buggybread
I've got Win7 64 bit OS. Java show Java version is 7 update 67 (build 1.7.0_67-b01). When I type in java -version in the command window it shows: java version "1.7.0_67"

Java(TM) SE Runtime Environment (build 1.7.0_67-b01)

Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode, sharing). In the PATH i have added the following: "C:\Program Files (x86)\Java\jre7\bin;C:\Program Files (x86)\Java\jre7\bin\client\" However I get the error message:

"Failed to load JNI shared library jvm.dll" I know I am not doing something correct because it used to work just fine before I had to reimage my computer. Could you please help.
buggybread buggybread
Reply | Threaded
Open this post in threaded view
|

Re: Discussion Thread for "Failed to load JNI shared library"

Your Java doesn't seem to be 64bit and hence not compatible with Win7 64 bit. Seems like you installed wrong version of Java after reimaging your system.

Make sure you install - Windows x64129.7 MB jdk-7u67-windows-x64.exe

http://www.oracle.com/technetw...
www.buggybread.com
yogesh yogesh
Reply | Threaded
Open this post in threaded view
|

Re: Discussion Thread for "Failed to load JNI shared library"

In reply to this post by Johnny
if java is 32 bit what msg do one get