环境搭建

安装Java 8 JDK

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install oracle-java8-jdk

确保已安装Java 8

java -version