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

2022/2/25 1:21:43

本文主要是介绍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

 



这篇关于No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 未配置的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程