编程语言
首页 > 编程语言> > ecplise启动错误(A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available...)

ecplise启动错误(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...

 

解决方法1:

  需在ecplise目录下的ecplise.ini,进行配置

  新增代码

-vm
C:\JDK\jdk1.8.0_77\bin\javaw.exe
tip:JDK javaw.exe的路径

 

 

 

解决方法2:配置环境

系统变量里设置下面:

变量名:JAVA_HOME  变量值:C:\Program Files\Java\jdk1.6.0_25
变量名:CLASSPATH  变量值:.;%JAVA_HOME%\lib;
变量名:Path           变量值:%JAVA_HOME%\bin;

 

启动成功!

 

 

 

标签:Development,available,Java,JDK,ecplise,JAVA,变量名,变量值
来源: https://www.cnblogs.com/qqfff/p/12382680.html