Friday, June 14, 2013

failed to load jni shared library jvm.dll eclipse

failed to load jni shared library jvm.dll eclipse

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”  

Please check the version bellow..

64 bit OS with 64 bit Java with 64 bit  eclipse, will it work? - yes.
64 bit OS with 32 bit Java with 32 bit  eclipse, will it work? - yes.
64 bit OS with 64 bit Java with 32 bit  eclipse, will it work? - No.
32 bit OS with 32 bit Java with 32 bit  eclipse, will it work? - No.


Goto to eclipse.ini  and add the follwing and restart the eclipse

-vm  
C:\Program Files (x86)\Java\jre1.6.0\bin 

No comments: