没有找到Eclipse-JDK [英] Eclipse- JDK not found

查看:120
本文介绍了没有找到Eclipse-JDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了JDK 7和Eclipse Helios,但是当我打开Eclipse时,我收到以下错误

I have downloaded JDK 7 and Eclipse Helios, but when I open Eclipse, I get the following error

A java Runtime Environment (JRE) or Java Development kit (JDK) must be available in order 

to run Eclipse. No Java virtual machine was found after searching the following locations:

 C:\eclipse\jre\javaw.exe javaw.exe in your current PATH

我试图将JDK bin文件夹的确切路径放在eclipse.ini文件中,但它没有起作用

I have tried to put the exact path of JDK bin folder in eclipse.ini file but it didn't work

-vm
C:\Program Files\Java\jdk1.7.0_05\bin

有人可以告诉我这个问题背后的原因是什么,我该如何解决?

Can somebody tell me what is the reason behind this issue and how can I solve it.

推荐答案

当我遇到这个问题,我解决了以下方式(我有Windows 7):

When I had this problem, I solved the following way (I have Windows 7):


  1. 右键单击桌面上的Eclipse图标。

  2. 属性

  3. 目标:C:\eclipse\eclipse.exe -vm C:\Java\jdk1.6.0_32\jre\bin\javaw.exe

  1. Right click on the Eclipse icon in your desktop.
  2. Properties
  3. Target: C:\eclipse\eclipse.exe -vm C:\Java\jdk1.6.0_32\jre\bin\javaw.exe

3a(如果你的jdk安装在一个像Program Files):C:\eclipse\eclipse.exe -vmC:\Java\jdk1.6.0_32\\ jre\bin\javaw.exe

3a (if your jdk is installed in a path like "Program Files"): C:\eclipse\eclipse.exe -vm "C:\Java\jdk1.6.0_32\jre\bin\javaw.exe"

这篇关于没有找到Eclipse-JDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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