首页 > 其他 > 详细

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

时间:2020-05-15 15:14:50      阅读:290      评论:0      收藏:0      [点我收藏+]

--> yum search java | grep openjdk

--> yum install java-1.8.0-openjdk-headless.x86_64

--> yum install java-1.8.0-openjdk-devel.x86_64

--> update-alternatives --config java #pick java 1.8 and press 1

--> update-alternatives --config javac #pick java 1.8 and press 2

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

原文:https://www.cnblogs.com/zheh/p/12894930.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!