sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-bin
若無 add-apt-repository 則需先執行
sudo apt-get install python-software-properties
安裝 JRE (Java Runtime Environment)
sudo apt-get install sun-java6-jre sun-java6-plugin
安裝 JDK (Java Development Kit)
sudo apt-get install sun-java6-jdk
沒有留言:
張貼留言