yum install -y java-1.8.0-openjdk java-1.8.0-openjdk-devel java-1.8.0-openjdk-headless
maven下载地址https://maven.apache.org/download.cgi
Linux下安装Java
原文:https://www.cnblogs.com/my-program-life/p/12014238.html