要在ubuntu 9.10 安裝JAVA5

ubuntu 9.10 can’t install sun-java5-jdk
add line to your /etc/apt/sources.list

deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

接著執行以下指令
sudo apt-get update
sudo apt-get install sun-java5-jdk sudo update-alternatives –config java
sudo update-java-alternatives -s java-1.5.0-sun

(From: http://blog.yam.com/ipray/article/28388424 )

分類: 未分類

發表迴響