修改默认jdk版本
执行两个命令:
update-alternatives --install /usr/bin/java java /usr/java/jdk1.7.0_72/bin/java 1888
update-alternatives --config java
执行两个命令:
update-alternatives --install /usr/bin/java java /usr/java/jdk1.7.0_72/bin/java 1888
update-alternatives --config java