Java Sun ubuntu

Installation:

sudo add-apt-repository „deb http://archive.canonical.com/ maverick partner”
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin

Use as default:

sudo update-alternatives –config java

Installing JDK:

sudo apt-get install sun-java6-jdk

Source code (to be used in development):

sudo apt-get install sun-java6-source

Reklamy