Skip to content

Eclipse Error : Failed to load the JNI shared library

I recently downloaded the 64 bit version[eclipse-SDK-3.7.1-win32-x86_64] of eclipse Classic( indigo ) for windows 7 .But on whe i tried to run the eclipse.exe file , the following error message was displayed.
 

” Failed to load the JNI shared library “c:\Program Files(x86)\java\jdk1.6.0_25\bin\..\jre\bin\client\jvm.dll”  “

As displayed  here:

eclipse error

What’s the reason for this Error  ?

1.You have downloaded the 64 bit version of eclipse but are using the 32 bit  jdk.

2.For using   64bit version of any of the eclipse ide (s) , you have to install the 64  bit version of jdk[jdk-7u2-windows-x64.exe].

How to solve the problem:

1.Download the 64 bit version of jdk .

2.Install it .

3.Set the value of   JAVA_HOME enviornment variable to  C:\Program Files\Java\jdk1.7.0 [default installation].

Now Run eclipse.exe and enjoy the 64 bit version……..

7 Comments
  1. Raju Rathi permalink

    thanks , it works :)

  2. jump.in1@hotmail.com permalink

    Wow!!!!!! You save my life…Oh god love u so much

  3. try moidfiying eclipse.ini see this page http://wiki.eclipse.org/Eclipse.ini .I think this will work , if it still doesn’t work let me know

  4. nixa permalink

    i have both eclipse and java of 64 bits but i still get this eror please can u resolve the issue

  5. ramadevi permalink

    Failed to load the JNI shared library “c:\Program Files(x86)\java\jre7\bin\client\jvm.dll”
    can any one please solve this problem

  6. shadab permalink

    still we have same problem

  7. Munish permalink

    i am using 64 bit version of eclips and java both,then also i am getting error message Failed to load the JNI shared library…what should i do.?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: