Install sun-java6-jdk to Ubuntu 10.04

I almost forgot the way to install sun-java-jdk to Ubuntu 10.04.


I will use Ubuntu 10.04 until the day I own a Mac or 12.04 is released, I leave the commands to install sun-java6-jdk here.

$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk

しばらくUbuntu10.04を使い続けるつもりなので、sun-java6-jdkパッケージをインストール手順を残しておきます。