Eclipse error: Failed to load the JNI shared library, eclipsejni
A solution that prompts "Failed to load the JNI shared library/Java/jre6/bin/client/jvm. dll" during Eclipse Runtime
Because Eclipse is 64-bit, 64-bit jdk1.7 is also required. Jdk1.6 was installed previously. You need to download jdk1.7 64-bit and configure the environment variables.
However, the following error is still reported during running. You need to modify eclipse. ini and add it at the following position:
-Startup
Plugins/org. eclipse. equinox. launcher_1.3.100.v20150511-1540.jar
-- Launcher. library
Plugins/org. eclipse. equinox. launcher. win32.win32. x86_64_1.1.300.v20150602-1417
-Product
Org. eclipse. epp. package. jee. product
-- Launcher. defaultAction
OpenFile
-- Launcher. XXMaxPermSize
256 M
-Showsplash
Org. eclipse. platform
-- Launcher. XXMaxPermSize
256 m
-- Launcher. defaultAction
OpenFile
-Vm
C:/Program Files/Java/jdk1.7.0 _ 79/bin/javaw.exe
-- Launcher. appendVmargs
-Vmargs
-Dosgi. requiredJavaVersion = 1.7
-Xms256m
-Xmx1024m