참조: http://www.ubuntugeek.com/how-to-install-java-runtime-environment-jre-in-ubuntu.html
== Currently Ubuntu has the following Java packages
sun-java6-bin – Contains the binaries
sun-java6-demo – Contains demos and examples
sun-java6-doc – Contains the documentation
sun-java6-fonts – Contains the Lucida TrueType fonts from the JRE
sun-java6-jdk – Contains the metapackage for the JDK
sun-java6-jre – Contains the metapackage for the JRE
sun-java6-plugin – Contains the plug-in for Mozilla-based browsers
sun-java6-source – Contains source files for the JDK
——–방법 1———–
[Ubuntu 11.04]
$ sudo add-apt-repository “deb http://archive.canonical.com/ natty partner”
$ sudo apt-get update
=== Install JRE
$ sudo apt-get install sun-java6-jre sun-java6-plugin
=== Install JDK
$ sudo apt-get install sun-java6-jdk
——-방법 2———-
== Install JRE on ubuntu 11.04 (Natty) using PPA : http://www.ubuntugeek.com/install-jre-in-ubuntu-11-04-natty-using-ppa.html
참조:
Open the terminal and run the following commands
$ sudo add-apt-repository ppa:ferramroberto/java
$ sudo apt-get update
$ sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
=== Testing Java Runtime Environment
$ java -version
firefox 검색창에 아래 내용을 입력하고 엔터키를 누르면
Java(TM) Plug-in 을 확인할 수 있음
about:plugins