eclipse 3.4 can't start

北城余情 提交于 2019-12-24 09:00:04

问题


Yesterday, I try to start eclipse 3.4 by click eclipse.exe (in eclipse folder), and run normally. Then yesterday night, I do windows update. Today, when I try to run eclipse 3.4, it has error. The error message you can find at here SCREENSHOT

I use windows xp sp2, and java 1.5 update 14.

I don't know how to fix that, so I uninstalled my jdk1.5.14 then installed jdk1.5.21. The problem still exist. If I use bat file (eclipse.bat) with the content of the file is like below:

eclipse -vmargs -Xmx256M

it will run normally. But when I change into -Xmx512M or (>= 512M), it will display error like the screenshot.

The same problem is occurred when I start with eclipse 3.5. But when I start with eclipse 3.3, eclipse 3.3 is start normally (I think eclipse 3.3 is use memory lower than 3.4 above, <= 512M only, have tested, but forgot how much memory consumed by eclipse 3.3).

I am just guess the problem is from my windows. I really appreciate if anyone can help this problem.


回答1:


You could try with this eclipse.ini:
it does have a Xmx lower than 512 and still manage to run eclipse pretty fast (I would recommend using the latest JDK for this, though, even if you are using JDK5 for your programs)

Check also each lines of your eclipse.ini: they must not have any extra space.



来源:https://stackoverflow.com/questions/1587002/eclipse-3-4-cant-start

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!