Install Java1.6 on Ubuntu Server

### Install
$ sudo apt-get install python-software-properties
$ sudo add-apt-repository 'deb http://archive.canonical.com/ lucid partner'  
$ sudo apt-get update   
$ sudo apt-get install sun-java6-jdk

### Set Sun's Java as default
$ sudo update-alternatives --config java  

Share this

Related Posts