A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be availableA Java Runtime Environment (JRE) or Java Development Kit (JDK)must be available in order to run Eclipse.No Java virtual machinewas found after searching the following loc

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 20:33:54
AJavaRuntimeEnvironment(JRE)orJavaDevelopmentKit(JDK)mustbeavailableAJavaRuntimeEnvironment(JRE)orJa

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be availableA Java Runtime Environment (JRE) or Java Development Kit (JDK)must be available in order to run Eclipse.No Java virtual machinewas found after searching the following loc
A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available
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:
我的环境变量已经配置了,但是还是不行?

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be availableA Java Runtime Environment (JRE) or Java Development Kit (JDK)must be available in order to run Eclipse.No Java virtual machinewas found after searching the following loc
在系统变量中新建系统变量
变量名为 JAVA_HOME
变量值为 D:\Java\jdk1.5.0_22(视具体情况而定)
然后在系统变量的CLASSPATH中 加入如下语句
%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\dt.jar;.