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

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

问题描述

我刚刚下载了 eclipse-java-helios-SR2-win32-x86_64.zip 提取了zip。
当我试图运行我得到错误:





这是我的.ini文件:

  -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 64bit上运行(是的,我下载了64位JDK和64位Eclipse)

解决方案

Eclipse用于启动的JVM是某种方式 C:\Windows\system32\ja vaw.exe 。我不认为这是你打算使用的。



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

  -vm< JAVA_HOME>的javaw.exe的位置

上面的一行最好在你的vmargs被指定的行之前存在。 >

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

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

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

解决方案

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.

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>

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

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

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