maven依赖于jdk,所以先来安装jdk 安装jdk1.8 下载压缩包 $ wget jdk-8u131-linux-x64.tar.gz --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/