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...

ecplise启动错误(A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available...)

 

解决方法1:

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

ecplise启动错误(A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available...)

  新增代码

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

 

ecplise启动错误(A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available...)

 

 

解决方法2:配置环境

系统变量里设置下面:

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

 

启动成功!

 

 ecplise启动错误(A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available...)

 

上一篇:Webpack5构建速度提升令人惊叹,早升级早受益


下一篇:五分钟快速配置flutter开发环境