Eclipse#39;s error on startup in windows 7(Eclipse 在 Windows 7 中启动时的错误)
问题描述
美好的一天.
我决定学习 Java.我安装了 JDK 并为 windows 7 下载了 eclipse-java-helios-SR1-win32.
但我无法启动 eclipse,因为我总是收到消息:
错误:找不到 Java SE 运行时环境
我尝试重新安装 JDK,但安装程序给了我这样的消息:
错误 1723,此 Windows 安装程序包有问题.无法运行完成此安装所需的 DLL."
至少这里是eclipse给我的信息:
Java 已启动但返回退出代码=2C:Windowssystem32javaw.exe-Dosgi.requiredJavaVersion =1.5 -Xms40m-Xmx334m-XX:MaxPermSize=256m-jar C:eclipseplugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar-os Win32-ws Win32-拱 x86-showsplash-启动器 C:eclipseeclipse.exe-name Eclipse--launcher.libraryC:eclipseplugins/org.eclipse.equinox.Iauncher.win32.win32.x86_1.1.1.R36x_v20100810eclipse_1309.dll-启动 C:eclipsepIugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -exitdata 1760_50-product org.eclipse.epp.package.java.product -vm C:Windowssystem32javaw.exe -vmargs-Dosgi.requiredJavaVersion=1.5 -Xms40m-Xmx384m-XX:MaxPermSize=256m-jar C:eclipseplugins/org.eclipse.equinox.launcher_1.1.0.v20100507jar
<小时>
这是错误的图片.我想我可以在日志中犯一些错误.
更改您的 eclipse.ini
(就在 eclipse.exe
旁边)以:p>
- 指定完整的 JVM 路径(
-vm
参数:-vm C:/Prog/Java/jdk1.6.0_21/jre/bin/server/jvm.dll
例如).不要使用C:WindowsSystem32
中的那个. - 不指定用于launcher.library的jar
参见这个eclipse.ini
为例.
Good day.
I decided to learn Java. I installed JDK and downloaded eclipse-java-helios-SR1-win32
for windows 7.
But i can't launch eclipse because i always receive the message:
Error: couldn't find Java SE Runtime Environment
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."
At least here is information that eclipse gave to me:
Java was started but returned exit code=2
C:Windowssystem32javaw.exe
-Dosgi.requiredJavaVersion =1.5 -Xms40m
-Xmx334m
-XX:MaxPermSize=256m
-jar C:eclipseplugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-os Win32
-ws Win32
-arch x86
-showsplash
-launcher C:eclipseeclipse.exe
-name Eclipse
--launcher.library
C:eclipseplugins/org.eclipse.equinox.Iauncher.win32.win32.x86_1.1.1.R36x_v2010
0810eclipse_1309.dll
-startup C:eclipsepIugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -exitdata 1760_50
-product org.eclipse.epp.package.java.product -vm C:Windowssystem32javaw.exe -vmargs
-Dosgi.requiredJavaVersion=1.5 -Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar C:eclipseplugins/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.
Change your eclipse.ini
(right beside the eclipse.exe
) in order to:
- 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 inC:WindowsSystem32
. - not specify the jar used for the launcher.library
See this eclipse.ini
as an example.
这篇关于Eclipse 在 Windows 7 中启动时的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Eclipse 在 Windows 7 中启动时的错误
基础教程推荐
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- 降序排序:Java Map 2022-01-01