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:
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……..