错误:无法在Windows 7 64位的eclipse中创建java虚拟机问题

时间:2016-06-19 02:30:50

标签: java 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_64_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
128M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-vm 
C:\Program Files\Java\jdk1.8.0_25\jre\bin\server\jvm.dll

这是错误消息: 错误:无法创建java虚拟机。

Java was started but returned exit code = 1

1 个答案:

答案 0 :(得分:1)

https://wiki.eclipse.org/Eclipse.ini文档中,-vm

之前放置-vmargs
-vm 
C:\Program Files\Java\jdk1.8.0_25\jre\bin\server\jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m