eclipse 无法启动

提示 “Failed to load the JNI shared library”错误,提示jvm.dll不对

是有可能你的eclipse是64版本 而jdk是32位 可以从新指定64位jdk

在eclipse.ini中添加-vm

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
-vm
D:\Program Files\Java\jdk1.7.0_05\bin\javaw.exe
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m

 

posted on 2015-01-12 09:39  weiguoyuan  阅读(141)  评论(0)    收藏  举报

导航