hellowj

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

解决办法是修改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

分类:

技术点:

相关文章:

  • 2021-06-03
  • 2021-12-16
  • 2022-12-23
  • 2021-10-19
  • 2021-07-22
  • 2022-01-14
  • 2021-06-10
  • 2022-12-23
猜你喜欢
  • 2021-11-27
  • 2021-06-24
  • 2021-05-25
  • 2022-12-23
  • 2021-12-26
  • 2022-02-08
相关资源
相似解决方案