打开eclipse时启动错误

Start up error while opening eclipse

我的电脑上有 Eclipse,并且 运行 完美,在我安装 maven 插件和我的 java 更新后,当我打开 eclipse 时,它​​显示这条消息:"java was started but returned exit code=13" , 有人可以帮帮我吗?

这是我的 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)

这是我的 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

而且我还发现 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

将 vm 参数添加到指向您的 jdk 安装目录的 eclipse.ini 文件。例如像这样:

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

该参数需要位于 -vmargs 参数之前,并且需要换行,如上例所示

Java 自 Eclipse Luna (4.4) or with a patched Eclipse Kepler (4.3.2) as described here

以来,eclipse 中的 8 支持可用