$ sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk[sudo] password for bobpete:Reading package lists... DoneBuilding dependency treeReading state information... DonePackage sun-java6-bin is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, oris only available from another sourceHowever the following packages replace it: sun-java6-jreE: Package sun-java6-bin has no installation candidate
The data source cannot be updated.
Finally, find a post.
Http://stackoverflow.com/questions/2270068/cant-install-sun-java6-bin-package-on-ubuntu-hardy-8-04
deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
Add this to the data source list:/ECT/APT/sources. List
Then update the data source
$ Sudo apt-Get update
Then install
$ Sudo apt-Get install sun-java6-jre sun-java6-jdk
So OK.
At least on my host.