1.先添加自己手动安装的JDK_1.613到JDK启动选项表中:
sudo update-alternatives --install /usr/bin/javac javac/root/jdk1.6.0_13/bin/javac 300
sudo update-alternatives --install /usr/bin/javajava /root/jdk1.6.0_13/bin/java 300
2.进行默认JDK选择,选为刚装的那个就可以了
sudo update-alternatives --config java
sudo update-alternatives --install /usr/bin/javac javac/root/jdk1.6.0_13/bin/javac 300
sudo update-alternatives
2.进行默认JDK选择,选为刚装的那个就可以了
sudo update-alternatives --config java