简体   繁体   English

运行Eclipse Indigo的问题

[英]Problems running Eclipse Indigo

I'm trying to run Eclipse Indigo, but every time i click the application (eclipsec), it pulls up this error: 我试图运行Eclipse Indigo,但是每次我单击该应用程序(eclipsec)时,它都会拉出此错误:

A Java Runtime Enviroment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. Java运行时环境(JRE)或Java开发工具包(JDK)必须可用才能运行Eclipse。 No Java virtual machine was found after searching the following locations: C:\\Users\\Eric\\Desktop\\Eclipse Indigo SR1\\eclipse\\jre\\bin\\java.exe java.exe in your current PATH 搜索以下位置后未找到Java虚拟机:C:\\ Users \\ Eric \\ Desktop \\ Eclipse Indigo SR1 \\ eclipse \\ jre \\ bin \\ java.exe当前路径中的java.exe

I installed both a JRE and a JDK, but it still won't run. 我同时安装了JRE和JDK,但仍然无法运行。 I'm trying to make sure i'm not making a mistake. 我试图确保我没有犯错。 When I installed the JRE and JDK, I let them install normally, without changing the install location. 当我安装JRE和JDK时,我让它们可以正常安装,而无需更改安装位置。 After that failed, I installed the JRE to my eclipse folder (C:\\Users\\Eric\\Desktop\\Eclipse Indigo SR1\\eclipse). 失败之后,我将JRE安装到了eclipse文件夹(C:\\ Users \\ Eric \\ Desktop \\ Eclipse Indigo SR1 \\ eclipse)。 All that did was add the files to the folder along with this application file: jdk-7u1-windows-i586. 所有要做的就是将文件和以下应用程序文件一起添加到文件夹:jdk-7u1-windows-i586。 I've pretty much given up on this. 我已经完全放弃了。 Anyone know what i'm doing wrong? 有人知道我在做什么错吗? I'm running 64-bit Windows 7 Pro. 我正在运行64位Windows 7 Pro。

EDIT: Forgot to add that my eclipse folder is lacking \\jre, but has a \\bin. 编辑:忘记添加我的eclipse文件夹缺少\\ jre,但是有一个\\ bin。

Try this article FAQ: How do I run Eclipse . 试试本文FAQ:如何运行Eclipse Pay attention on the paragraph "Find the JVM" - it describes -vm option, which you can use to explicitly define JVM location. 请注意“查找JVM”段落-它描述了-vm选项,可用于显式定义JVM位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM