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

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

posted @ 2020-05-15 14:49  破冰Lab-Cookun  阅读(271)  评论(0编辑  收藏  举报