0

I am having a problem to install sun-java6-jdk on Ubuntu 10.04.

I googled and tried all but none of them worked.

When I type

apt-get install sun-java6-jdk

, I get the following message.

Reading package lists...Done Building 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.

Could anyone tell me how to install sun-java6-jdk on Ubuntu 10.04 please?

Thanks in advance.

1 Answer 1

0

try updating apt by issuning the command

sudo apt-get update

and then try the installation of sun-java6-jdk again.

1
  • Thanks. After that I used sudo apt-get install sun-java6-jdk then it is installed now.
    – shinokada
    Commented Sep 19, 2010 at 20:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .