Ubuntu Install JDK

摘要:Ubuntu install JDK

安裝

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

移除

sudo apt-get purge icedtea-* oracle-java*