eclipse 3.4无法启动
昨天,我尝试通过单击eclipse.exe(在eclipse文件夹中)启动eclipse 3.4,并正常运行。 然后昨天晚上,我进行了 Windows 更新。今天,当我尝试运行 eclipse 3.4 时,出现错误。您可以在此处找到错误消息 SCREENSHOT
我使用 windows xp sp2 和 java 1.5 update 14
。不知道如何解决这个问题,所以我卸载了jdk1.5.14然后安装了jdk1.5.21。问题仍然存在。 如果我使用bat文件(eclipse.bat),文件内容如下:
eclipse -vmargs -Xmx256M
它将正常运行。但是当我更改为-Xmx512M或(>= 512M)时,它会显示错误,如屏幕截图所示。
当我启动eclipse 3.5时,出现了同样的问题。但是当我启动eclipse 3.3时,eclipse 3.3正常启动(我认为eclipse 3.3使用的内存低于上面的3.4,仅<= 512M,已经测试过,但忘记了eclipse 3.3消耗了多少内存)。
我只是猜测问题出在我的窗户上。如果有人能帮助解决这个问题,我真的很感激。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试使用此 eclipse.ini< /strong>:
它的 Xmx 确实低于 512,并且仍然能够相当快地运行 eclipse(不过,我建议使用最新的 JDK,即使您的程序使用 JDK5)
还要检查 eclipse.txt 的每一行。 ini:它们不能有任何额外的空间。
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.