解决Eclipse 64位启动时,报jvm.dll错

来源:互联网 发布:采集助手数据库 编辑:程序博客网 时间:2024/05/16 10:19



在64位Win7环境+64位JDK下,运行64位Eclipse,提示“Failed to load the JNI shared library”错误,提示jvm.dll不对。

解决办法是修改eclipse.ini,在里面指定VM路径

复制代码
复制代码
-startupplugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502-productorg.eclipse.epp.package.java.product--launcher.defaultActionopenFile--launcher.XXMaxPermSize256M-showsplashorg.eclipse.platform-vmD:\Program Files\Java\jdk1.7.0_05\bin\javaw.exe--launcher.XXMaxPermSize256m--launcher.defaultActionopenFile-vmargs-Dosgi.requiredJavaVersion=1.5-Xms40m-Xmx384m
复制代码

0 0
原创粉丝点击