Friday, September 16, 2011

Install issue of sun-java6-jdk - Ubuntu 10.04 (Lucid)

$ 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

To fix above install issue, do these steps

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

Hope this may help you to install java6 on ubuntu 10.04.

No comments:

Post a Comment