网上找到的安装java7的,很多已经不正确了.
从国外找到一个,现在确认是正确的安装记录一下
Install oracle java 7 in ubuntu 13.04/12.10/12.04
Open the terminal and run the following commands
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer