30 04 2011

Install Sun Java Runtime (JRE) in Ubuntu 11.04 via PPA

bigCat Posted in Linux - for Comments = 3

http://www.liberiangeek.net/2011/04/install-java-run-time-jre-ubuntu-11-04-ppa/\r\n\r\nUbuntu Maverick Image\r\n\r\nThis simple tutorial shows you how to install Sun Java Runtime Environment (JRE) in Ubuntu 11.04 Natty Narwhal via PPA. If you have upgraded to Ubuntu 11.04 and Java is not installed, follow this tutorial to install it. Java is normally installed via Ubuntu Partner repository, but at the time of this writing, Ubuntu Partner repository wasn’t available in Natty. This is a work-around and should get you the latest version of Java in Ubuntu.\r\n\r\n \r\n\r\nGetting started:\r\n\r\n \r\n\r\nTo get started, click on ‘Power –> System Settings’\r\n\r\n \r\n\r\nnatty_java_5\r\n\r\n \r\n\r\nNext, select ‘System –> Ubuntu Software Center’\r\n\r\n \r\n\r\nnatty_java_1_3\r\n\r\n \r\n\r\nThen select ‘Edit –> Software Sources’\r\n\r\n \r\n\r\nnatty_java_2_3\r\n\r\n \r\n\r\nNext, select ‘Other Software’ and click ‘Add’. Then type type line below into the box and click ‘Add Source’\r\n

\r\n
ppa:ferramroberto/java

\r\n\r\nnatty_java_3_3\r\n\r\n \r\n\r\nBack into Software Center search for and install ‘sun-java6-jre’\r\n

\r\n
sun-java6-jre

\r\n\r\nnatty_java_4_3\r\n\r\n \r\n\r\nEnjoy!

  1. nomaka says:

    大猫....怎么装 JDK啊不要 openJDK /tec/environment 写的不对 都不能 登陆....

  2. bigCat says:

    intellij IDEA 只认SUN的。。。。

  3. bigCat says:

    /etc/environment\r\n\r\nPATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/damao/Programs/idea/bin:/usr/lib/jvm/java-6-sun/bin:/usr/lib/jvm/java-6-sun/jre/lib"\r\nJAVA_HOME="/usr/lib/jvm/java-6-sun"\r\nJRE_HOME="/usr/lib/jvm/java-6-sun/jre"\r\nJDK_HOME="/usr/lib/jvm/java-6-sun"\r\nCLASSPATH=".:/usr/lib/jvm/java-6-sun/lib"

Host: (miao) | Word: Press | Code: HTML5