Failed to load the JNI shared library
“D:\java\java1.6\jdk1.6.0.25\bin\..\jre\bin\server\jvm.dll”
应该是jdk的位数和eclipse的位数不一致
jdk的查看方式:
java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
eclispe的查看方式:
查看eclipse的安装路径下文件 eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20130521-0416
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
我遇到的是jdk 64位 eclisep32位 ,eclipse启动不起来,报
Failed to load the JNI shared library
“D:\java\java1.6\jdk1.6.0.25\bin\..\jre\bin\server\jvm.dll”
问题
解决方式统一2者位数,要么都64位,要么都32位