Eclipse在Windows 7启动时的错误 [英] Eclipse's error on startup in windows 7

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

问题描述

美好的一天。

我决定学习Java。我安装了JDK,并为Windows 7下载了 eclipse-java-helios-SR1-win32

I decided to learn Java. I installed JDK and downloaded eclipse-java-helios-SR1-win32 for windows 7.

但是我可以' t发送eclipse因为我总是收到消息:

But i can't launch eclipse because i always receive the message:

Error: couldn't find Java SE Runtime Environment

我尝试重新安装JDK,但安装程序给了我这样的消息:

I tried to reinstall the JDK but installer gave me such message:

Error 1723, There is a problem with this Windows Installer package.
A DLL required for this install to complete couldn't be run."

至少这里是eclipse给我的信息:

At least here is information that eclipse gave to me:

Java was started but returned exit code=2 

C:\Windows\system32\javaw.exe
-Dosgi.requiredJavaVersion =1.5 -Xms40m
-Xmx334m
-XX:MaxPermSize=256m
-jar C:\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os Win32
-ws Win32
-arch x86
-showsplash
-launcher C:\eclipse\eclipse.exe
-name Eclipse
--launcher.library
C:\eclipse\plugins/org.eclipse.equinox.Iauncher.win32.win32.x86_1.1.1.R36x_v2010
0810\eclipse_1309.dll
-startup C:\eclipse\pIugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -exitdata 1760_50
-product org.eclipse.epp.package.java.product -vm C:\Windows\system32\javaw.exe -vmargs
-Dosgi.requiredJavaVersion=1.5 -Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar C:\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20100507jar






这是错误的图片。我想我可以在日志中犯错误。


Here is a picture of the error. I suppose that i could make few mistakes in the log.

推荐答案

更改您的 eclipse.ini eclipse.exe 之外),以便:

Change your eclipse.ini (right beside the eclipse.exe) in order to:


  • 指定完整的JVM路径( -vm 参数: -vm C:/Prog/Java/jdk1.6.0_21/jre/bin/server/jvm.dll )。不要使用 C:\Windows\System32 中的那个。

  • 不指定用于launcher.library的jar

  • specify a full JVM path (-vm argument: -vm C:/Prog/Java/jdk1.6.0_21/jre/bin/server/jvm.dll for instance). Don't use the one in C:\Windows\System32.
  • not specify the jar used for the launcher.library

请参阅这个 eclipse.ini 为例。

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

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