Sun java can no longer be installed from the multiverse repo on Ubuntu 10.04.
Solution:
apt-get install python-software-properties add-apt-repository "deb http://archive.canonical.com/ lucid partner" apt-get update apt-get install sun-java6-jdk
Advertisement
Well, I think ubuntu-restricted-extras command in terminal gets it done.