2012年2月8日星期三

Sun Java6 JDK has No Installation Candidate

http://codingexplorer.wordpress.com/2010/10/08/sun-java6-jdk-has-no-installation-candidate-on-ubuntu-10-04/

You can resolve the problem by performing either of the following steps:

  • Install the OpenJDK
    yee@chimney:~$ sudo apt-get install openjdk-6-jdk
  • Install sun-java6 packages from the Canonical Partner Repository
    1. Adding a new source
      sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    2. Run an update for the new repository
      sudo apt-get update
    3. Now you can install the Sun JDK
      sudo apt-get install sun-java6-jdk

没有评论:

发表评论