‘sun-java6-jre’ has no installation candidate

 

[bash]
sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”
[/bash]

[bash]
sudo apt-get update
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk
[/bash]