Installing sun-java6-jdk with apt-get on Ubuntu 10.04
Posted
by
Adam S
on Super User
See other posts from Super User
or by Adam S
Published on 2012-02-28T01:07:19Z
Indexed on
2012/03/19
2:07 UTC
Read the original article
Hit count: 567
I have followed the instructions on numerous pages, such as this, which say to run the following commands:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk
However, when I do this I still get the following error:
me@mycomputer:~$ sudo apt-get install sun-java6-jdk Reading package lists... Done
Building dependency tree Reading state information... Done
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
I realize Java is available from many other sources, but for reasons that I can't get into here I must use this specific version.
What can I do to get this installed?
© Super User or respective owner