a java runtime environment(JRE) or java development kit(JDK) must be....

时间:2022-11-30 22:32:02

错误:

a java runtime environment(JRE) or java development kit(JDK) must be....

解决方法:

系统变量里设置下面:

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