When you try running Eclipse IDE and you get the below error,
Failed to load the JNI shared library "C:/JAVA/JDK6/bin/client/jvm.dll"
The reason for this error is because you may be having a miss-match between 32-bit and 64-bit setups,
64-bit Operating System: 64bit Eclipse and 32-Bit JDK or JRE Setup
or,64-bit Operating System: 32bit Eclipse and 64bit JDK or JRE Setup
So, you should have Eclipse + JDK + JRE all either 64-bit or 32-bit
How to check the Java Version installed ?
To check what Java version (64/32-bit) is installed on the system, open Command Prompt and run the command "java -version"
How to check Eclipse Version installed ?
You can check installed eclipse version by looking into eclipse.ini file and look for x86_64 for 64bit if you just find x86 it means that you have 32bit eclipse installed.
Conclusion :
Windows Operation System, JRE, JDK, and Eclipse all must be either 32bit or 64bit to resolve this issue. If not do reinstall the component to 64/32bit appropriately.
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!