Failed to load the JNI shared library on starting Eclipse
This usually happens if you have a 32- vs. 64-bit mismatch between the installed JDK and Eclipse versions!
Your version of Eclipse is trying to access a 32-bit JDK (as indicated by C:\Program Files (x86)), but either fails because Eclipse is expecting a 64-bit JDK or because the 32-bit JDK is missing - consequently you'll need to make sure to match the Eclipse and JDK versions bit wise accordingly.
I had installed both JDK and Eclipse 64-bit versions, but had the same issue...
Finally I discovered that my %PATH%
system variable didn't include the folder. Don't forget to change it to the correct folder where your JDK\bin is installed. Worked for me.
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
-vm
C:/Program Files/Java/jdk1.6.0_32/jre/bin
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
use eclipse and os both 64 bit or both 32 bit