Eclipse启动错误code = 1? [英] Eclipse startup Error code=1?

查看:1312
本文介绍了Eclipse启动错误code = 1?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载<一href="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-win32-x86_64.zip"相对=nofollow> eclipse-java-helios-SR2-win32-x86_64.zip 提取的拉链。 当我尝试运行我得到错误:

I just downloaded eclipse-java-helios-SR2-win32-x86_64.zip extracted the zip. When i'm trying to run i get error:

下面是我的.ini文件:

Here is my .ini file:

-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m

我乳宁在Windows 7 64位(是的,我下载了64位JDK和64位的Eclipse)

I'm runing on Windows 7 64bit (Yes i downloaded the 64bit JDK and 64bit Eclipse)

推荐答案

在JVM正在为启动Eclipse使用是有点 C:\ WINDOWS \ SYSTEM32 \ javaw.exe的 。我不认为这有什么,你打算使用。

The JVM being used by Eclipse for startup is somehow C:\Windows\system32\javaw.exe. I do not think that this what you intended to use.

要指定JVM要使用的Eclipse,以下行添加到eclipse.ini文件:

To specify the JVM to be used by Eclipse, add the following line to the eclipse.ini file:

-vm <location of javaw.exe of your JAVA_HOME>

上面一行将理想必须是present它指定的vmargs不前行。

The above line would ideally have to be present before the line where your vmargs are specified.

这篇关于Eclipse启动错误code = 1?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆