Okay then we need to edit sources.list manually.
Code:
sudo nano /etc/apt/sources.list
And add to the bottom:
For 9.10
Code:
deb http://archive.canonical.com/ karmic partner
For 10.04
Code:
deb http://archive.canonical.com/ lucid partner
If you not familiar with nano, Ctrl+O saves and Ctrl+X exits.
Now try:
Code:
sudo apt-get update; sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
Sorry I gave you commands for the Desktop version.