2010/04/08

Sun's Java JDK on Ubuntu 10.04 beta1 (Lucid Lynx)

Sun's Java 6 JDK is now available through the partners repository.  To get it installed use the following steps...
  1. sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
  2. sudo aptitude update
  3. sudo aptitude install sun-java6-jdk

5 comments:

  1. harijayApr 14, 2010 12:35 PM
    Just one more comment . When the blue screen appears to accept the licence --hit tab to highlight the and then enter. This was not entirely obvious to me and I ended up killing my install midway the first time around
    ReplyDelete
  2. Devin VenableApr 21, 2010 08:36 AM
    Thanks. I was surprised to see sun-java6-jdk removed from the main repository. I take it that openjdk is now the preferred option?
    ReplyDelete
  3. Doreen A. ClemonsApr 21, 2010 06:37 PM
    Thanks so very much for saving my backside. (A side note to the web at large: Make darned sure you type the sudo add-apt-repository line correctly or you'll break the sources.list file. Just like I did. D'oh!)

    Honestly, I don't know what the heck Ubuntu's thinking by pushing the Sun JDK outside the herd. With all due respect to the folks who put their time and sweat into the OpenJDK, it's still not ready for prime time.

    Again, thanks very much. If you're ever gonna be in the vicinity of La Crosse, WI, Dan, email me ahead of time and I'll buy you a beer. :~)
    ReplyDelete
  4. AmanicAApr 23, 2010 03:35 PM
    You're the man. Thanks
    ReplyDelete
  5. anuragJun 26, 2010 11:52 AM
    thanks very much!
    one more thing
    while executing command :
    sudo aptitude update

    if you have an issue like :
    Malformed line 54?

    Open a terminal and type

    gksudo gedit /etc/apt/sources.list

    and change the last line to

    deb http://archive.canonical.com/ubuntu lucid partner
    and then run commands 2 and 3
    i.e.
    2. sudo aptitude update
    3. sudo aptitude install sun-java6-jdk
    ReplyDelete