编程语言
首页 > 编程语言> > No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 未配置

No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 未配置

作者:互联网

一、创建JAVA_HOME,值为:C:\Java\jdk1.8.0_321

 

 

二、创建CLASSPATH变量,值为:

.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;

 

 

 

三、path添加值,分别是

%JAVA_HOME%\bin

%JAVA_HOME%\jre\bin

 

标签:bin,provided,JRE,JAVA,lib,jar,值为,HOME%
来源: https://www.cnblogs.com/topguntopgun/p/15934028.html