Jul 20, 2010

install sun java in ubuntu 10.04

1. Enable access to the partner repository (replace nano with gedit in a desktop environment)

sudo nano /etc/apt/sources.list
Save and Exit nano (Ctrl+o+Ctrl+x)

2. Update the package manager to let it know of the packages available in the Partner Repository.

sudo aptitude update

3. Search to see what Sun packages are available

sudo aptitude search sun

4. Install the packages you'd like on your system.

sudo aptitude install sun-java6-jdk

for the JDK (which has it's own JRE)

sudo aptitude install sun-java6-jre

for the JRE

sudo aptitude install sun-java6-plugin

for the Mozilla Firefox Plug-in



No comments: