ubuntu如何在线安装java7?

root@localhost:~# sudo apt-get install oracle-java7-installer  
sudo: unable to resolve host localhost.localdomain  
Reading package lists... Done  
Building dependency tree  
Reading state information... Done  
E: Unable to locate package oracle-java7-installer  
查看回复