eclipse 无法启动 JVM terminated. Exit code=-1 的解决办法

下载eclipse-jee-galileo-SR1-win32.zip 解压缩后,打开eclipse.exe不知道为什么,提示错误: JVM   terminated. Exit   code=-1。

后来在网上找了一下,有人说是JAVA环境配置的问题,有人说是JVM的问题,后来看来有人说是:eclipse.ini中内存设置过大的问题,虽然我不以为然,还是试了一下
之前eclipse.ini的配置如下:

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

现在修改了一下,-Xmx512m 改为 -Xmx256m结果还真的好了,没想到居然是这样的小问题引起来的。

你可能感兴趣的:(eclipse,jvm)