简体   繁体   English

打开eclipse时启动错误

[英]Start up error while opening eclipse

I have Eclipse in my computer and is running perfectly, after I install maven plugin and my java update itself, when I open eclipse, it show this message: "java was started but returned exit code=13", someone can help me? 我在我的计算机上安装了Eclipse并且运行完美,在我安装maven插件和我的java更新本身之后,当我打开eclipse时,它显示了这条消息:“java已启动但​​返回退出代码= 13”,有人可以帮助我吗?

Here is my java version: 这是我的java版本:

java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode, sharing)

Here is my eclipse.ini: 这是我的eclipse.ini:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms40m
-Xmx512m

and I also find that javaw.exe , java.exe and javaws.exe are 0 Kb in 而且我还发现javaw.exejava.exejavaws.exe都是0 Kb

C:\ProgramData\Oracle\Java\javapath, I think it cause the problem, how can i fix it?

Here is the link to my start up error 这是我的启动错误的链接

Add vm argument to eclipse.ini file which points to your jdk installation directory. 将vm参数添加到eclipse.ini文件中,该文件指向您的jdk安装目录。 For example like this: 例如这样:

-vm
/usr/lib/jvm/java-1.7.0-openjdk-amd64/bin/java

The argument needs to be just before the -vmargs argument and needs to have a new line as in the example above 参数需要在-vmargs参数之前,并且需要有一个新行,如上例所示

Java 8 support in eclipse is available since Eclipse Luna (4.4) or with a patched Eclipse Kepler (4.3.2) as described here 在蚀爪哇8支持可自的Eclipse露娜 (4.4)或具有修补的Eclipse开普勒(4.3.2)所描述的在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM