Open source software supply chain lighting plan, waiting for you>>>
After JDK is installed, it also takes effect, and Java – version is printed. Why does the execution in the script report an error?Try the following:
yum install java-1.8.0-openjdk-devel.x86_64