1、添加这个源:
sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse"
2、sudo apt-get update3、sudo apt-get install sun-java6-jdk OK了
1、添加这个源:
sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse"
2、sudo apt-get update