Ubuntu下,SUN JDK的安装

取得Sun JDK 5
sudo apt-get install sun-java5-jdk

查看安装的jdk列表
update-java-alternatives -l

设置默认Java
sudo update-java-alternatives -s java-1.5.0-sun

0 Responses to "Ubuntu下,SUN JDK的安装"