ITeye博客

eclipse-jee-galileo不能启动:JVM terminated. Exit code=-1

bluestorm · 2010-01-05 16:09 · Java · 编程语言 · Markdown

 

下载了eclipse-jee-galileo,但是无法启动,弹出上面的对话框。

 

打开eclipse.int文件:

 

-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

 

将最后的512改为256,就可以启动了。估计是内存问题。

评论(2)

  1. #2 楼 · durrrr · 2010-05-05 10:30

    这算什么解决办法? 明明机器有3G内存,eclipse只能分配256M?

    网上满大街都是互相转载,互相参考的,这种方法,唉

  2. #1 楼 · 狂放不羁 · 2010-03-20 23:13

    我改了还是不能启动?

评论功能维护中,当前仅展示历史评论。