Friday, February 24, 2012

Ubuntu 10: sudo apt-get install sun-java6-jdk error: Package sun-java6-jdk is not available


Ubuntu 10
sudo apt-get install sun-java6-jdk error

Package sun-java6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘sun-java6-jdk’ has no installation candidate

Solution:

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


No comments:

 
Jeffrey Ting Jeffrey Ting on Facebook Jeffrey Ting on Spock Jeffrey Ting on Plaxo Jeffrey Ting on Spoke Jeffrey Ting on LinkedIn