Java was started but returned exit code = 1

来源:互联网 发布:php 获取数组中最大值 编辑:程序博客网 时间:2024/05/16 06:27
具体不知道什么原因,电脑有点卡,在我debug的时候,
突然Eclipse不见了,然后发现一个错误信息的框框,
无奈关了重启任然不起效,值得去找解决的办法,经过多次的尝试,
在StackOverflow上找到一个可行的符合我情况的办法:
我的eclipse.ini修改后的配置文件的内容如下:
-startup 
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar 
--launcher.library 
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1.R36x_v20100810 
-product 
org.eclipse.epp.package.jee.product 
--launcher.defaultAction 
openFile 
--launcher.XXMaxPermSize 
256M 
-showsplash 
org.eclipse.platform 
--launcher.XXMaxPermSize 
256m 
-vm 
C:/xxx/jdk/bin/javaw.exe 
C:/xxx/jdk/jre/bin/server/jvm.dll 
--launcher.defaultAction 
openFile 
-vmargs 
-Xms256m 
-Xmx1024m 


----------
我添加了这一句:
C:/xxx/jdk/jre/bin/server/jvm.dll 


原文链接地址:
http://stackoverflow.com/questions/18609160/eclipse-returns-error-message-java-was-started-but-returned-exit-code-1
0 0
原创粉丝点击