原文地址:http://connectwww.com/how-to-install-jdk-on-ubuntu-11-10/1474/
The sun-java6 package (and also jdk7) is no longer available in the official Ubuntu 11.10 Oneiric Ocelot repositories due to the removal of the JDL license. To install sun jdk on ubuntu 11.10.1.Open Terminal.To open terminal click the Dash home from unity launcher.And type terminal in the search field.And click Terminal2.Type the below code in terminal and hit enter.sudo add-apt-repository ppa:ferramroberto/javaType your ubuntu password if needed and press enter.3.Then press enter to continue or ctrl-c to cancel adding the ppa.4.Type below command and hit entersudo apt-get update5.Then type below command and press entersudo apt-get install sun-java6-jdk sun-java6-plugin6.Type y and hit enter to confirm the installation.7.SelectOKand press enter enter8.To accecpt the DLJ licence select yes and press enter9.After the successful installation,to check the installed version typejava -version
Read more at: http://connectwww.com/how-to-install-jdk-on-ubuntu-11-10/1474/
Copyright © CONNECTwww.com
Read more at: http://connectwww.com/how-to-install-jdk-on-ubuntu-11-10/1474/
Copyright © CONNECTwww.com
The sun-java6 package (and also jdk7) is no longer available in the official Ubuntu 11.10 Oneiric Ocelot repositories due to the removal of the JDL license. To install sun jdk on ubuntu 11.10.1.Open Terminal.To open terminal click the Dash home from unity launcher.And type terminal in the search field.And click Terminal2.Type the below code in terminal and hit enter.sudo add-apt-repository ppa:ferramroberto/javaType your ubuntu password if needed and press enter.3.Then press enter to continue or ctrl-c to cancel adding the ppa.4.Type below command and hit entersudo apt-get update5.Then type below command and press entersudo apt-get install sun-java6-jdk sun-java6-plugin6.Type y and hit enter to confirm the installation.7.SelectOKand press enter enter8.To accecpt the DLJ licence select yes and press enter9.After the successful installation,to check the installed version typejava -version
Read more at: http://connectwww.com/how-to-install-jdk-on-ubuntu-11-10/1474/
Copyright © CONNECTwww.com
Read more at: http://connectwww.com/how-to-install-jdk-on-ubuntu-11-10/1474/
Copyright © CONNECTwww.com
The sun-java6 package (and also jdk7) is no longer available in the official Ubuntu 11.10 Oneiric Ocelot repositories due to the removal of the JDL license. To install sun jdk on ubuntu 11.10.1.Open Terminal.To open terminal click the Dash home from unity launcher.And type terminal in the search field.And click Terminal2.Type the below code in terminal and hit enter.
Read more at: http://connectwww.com/how-to-install-jdk-on-ubuntu-11-10/1474/
Copyright © CONNECTwww.com
Read more at: http://connectwww.com/how-to-install-jdk-on-ubuntu-11-10/1474/
Copyright © CONNECTwww.com
The sun-java6 package (and also jdk7) is no longer available in the official Ubuntu 11.10 Oneiric Ocelot repositories due to the removal of the JDL license. To install sun jdk on ubuntu 11.10.1.Open Terminal.To open terminal click the Dash home from unity launcher.And type terminal in the search field.And click Terminal2.Type the below code in terminal and hit enter.
Read more at: http://connectwww.com/how-to-install-jdk-on-ubuntu-11-10/1474/
Copyright © CONNECTwww.com
Read more at: http://connectwww.com/how-to-install-jdk-on-ubuntu-11-10/1474/
Copyright © CONNECTwww.com
sudo add-apt-repository ppa:ferramroberto/java
Read more at: http://connectwww.com/how-to-install-jdk-on-ubuntu-11-10/1474/
Copyright © CONNECTwww.com
1.sudo add-apt-repository ppa:ferramroberto/java
Read more at: http://connectwww.com/how-to-install-jdk-on-ubuntu-11-10/1474/
Copyright © CONNECTwww.com
2.sudo apt-get update
3.sudo apt-get install sun-java6-jdk sun-java6-plugin
这期间如果出现提示、输入y/ok/密码就可以了。