[英]Error installing Eclipse
I have the following Java version installed: " Version 7 Update 9" in Windows 7 64-bit , in the " Program files (x86) " folder. 我安装了以下Java版本: Windows 7 64位中的“ 版本7更新9”,位于“ 程序文件(x86) ”文件夹中。 I think this came by default when I installed Windows.
我认为这是在安装Windows时默认出现的。
I am now trying to install Eclipse for Win 64 Bit using this link: http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/R-4.2.1-201209141800/eclipse-SDK-4.2.1-win32-x86_64.zip 我现在正在尝试使用此链接安装Eclipse for Win 64位: http : //www.eclipse.org/downloads/download.php? file=/eclipse/downloads/drops4/R-4.2.1-201209141800/ eclipse- SDK-4.2.1-win32-x86_64.zip
But I get an error when I launch Exclipse.exe: 但是启动Exclipse.exe时出现错误:
Is this related to the fact Java is installed in the "Program Files x86" folder on a Win 64 bit? 这是否与Java安装在Win 64位上的“ Program Files x86”文件夹中有关? How can I solve this so I can install Eclipse?
我该如何解决这个问题才能安装Eclipse? By the way, Java should work fine, I've opened some applet demo samples in the IE browser, all good.
顺便说一下,Java应该可以正常工作,我已经在IE浏览器中打开了一些applet演示示例,一切都很好。
Last time I installed Eclipse on another PC went fine, I'm guessing the system configuration has to do with this error in this case. 上次我在另一台PC上安装Eclipse的时候一切正常,我猜测在这种情况下,系统配置与该错误有关。 Any help much appreciated.
任何帮助,不胜感激。
4 possible fix: 4种可能的解决方法:
Perhaps the java folder existed on disk but not in registry. 也许java文件夹存在于磁盘上,但不在注册表中。 It maybe a leftover of previous installation.
它可能是先前安装的剩余部分。 Try installing 32 bit eclipse or installing 64 bit java.
尝试安装32位Eclipse或安装64位Java。
Simpler fix 更简单的修复
Copy the java folder to the eclipse installation and rename it to jre
将java文件夹复制到eclipse安装并将其重命名为
jre
You need to put the JRE/JDK on the WINDOWS path. 您需要将JRE / JDK放在WINDOWS路径上。 This can be done by opening up the environment variables option in Windows.
这可以通过在Windows中打开环境变量选项来完成。 The error you receive is because java isn't on that path so eclipse defaults to its location.
您收到的错误是因为java不在该路径上,所以eclipse默认为其位置。
Thank you all for the advice. 谢谢大家的建议。
It finally worked after I did the following: 在执行以下操作之后,它终于起作用了:
Now I can start using Eclipse to create packages, classes, applets etc. 现在,我可以开始使用Eclipse创建包,类,小程序等。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.