myeclipse启动时候出错:JVM Terminated. Exit Code=-1

上一篇 / 下一篇  2009-03-09 11:21:47

方法:删除eclipse目录下的eclipse.ini

http://hi.baidu.com/blowppigs/blog/item/998b0e621da1addbe7113a81.html

被困扰了好久 一直没找到解决办法 偶然机会在Gooogle上找到了一个英文解释:

Recently, for unknown reasons, starting up Eclipse gave me a nasty screen of errors, starting with:
7I c8c Y WJ F N0JVM Terminated. Exit Code=-1
I've been using Eclipse and FDT for years, and this was the first time I've seen that so was stumped for a bit. Doing a search, gave numerous people running into similar problems, but frequently the error code was different, I'm not sure if "Exit Code =1" is a legitamate error or search engine indexing '-1' as '1'
What did work initially was removing the eclipse.ini, but then there wasn't enough memory being allocated for FDT (eclipse.ini has optional arguments '-Xmx' to tell the Java Runtime how much memory to save
Digging it turns
-vmargs was able to turn on/off the error. But then FDT wouldn't have enough memory to run
Having had the Java runtime recently upgrade itself to 1.6, thought that was most of it. In the end, along with some other nasty issues (Explorer.exe taking 50% of the CPU and taking down any process)...I just ended up reinstalling Windows....joy.
It's working now, it   turns out that the first param needs to be in front of the others, and I've had stability issues when the value is high (e.g. MaxPermSize=512M).   Even though I have 3GB Ram, something between the JVM and Windows doesn't like it.
-XX:MaxPermSize=256M爱踢博客社区4d*A9l Y0w
-vmargs

responses to 'Eclipse: JVM Terminated. Exit Code=-1'
1. alex2308 said:
Made on 2.7.08 @ 10:08 am
same problem here.
solution: changing “-Xmx512m” to “Xmx256m” in eclipse.ini
PS: REGISTERING JUST TO POST A COMMENT SUCKS!
其实网上更直接的是 把。ini文件给删了,不过启动时候的画面是exlipse的,不是myeclipse的,不过,里面内容还是myeclipse的。 本人建议还是直接删了吧 我的INI里本来就是“Xmx256m”我注意到


TAG:

 

评分:0

我来说两句

Open Toolbar