Results 1 to 2 of 2

Thread: How do I install non-free Java in 11.10?

  1. #1
    Join Date
    Jun 2006
    Beans
    Hidden!

    How do I install non-free Java in 11.10?

    How do I install non-free Java in 11.10?

    I have read https://help.ubuntu.com/community/Java, however, it seems rather outdated. For example, it mentions adding lucid partner sources. Is that really correct to do in 11.10?

    From the Java help page:
    ``The Sun Java 6 packages are available from the partner repository. You can configure your system to use this repository via command-line:
    sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"''

    Should I really do that in 11.10? I already have
    deb http://archive.canonical.com oneiric partner
    But sun-java packages are not available for install.

  2. #2
    Join Date
    Feb 2005
    Location
    EU
    Beans
    549
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do I install non-free Java in 11.10?

    yes the ubuntu help is outdated. Java is now owned by Orace and distributions are not allowed to carry newer releases in their repositories.

    Though it is still provided for natty, so i added the natty canonical partner repo to the sources.list

    Code:
    sudo gedit /etc/apt/sources.list
    Add this at the bottom:

    ## Canonical Partner for natty
    deb http://archive.canonical.com natty partner
    now save the file & close the text editor. Back in the terminal:
    Code:
    sudo apt-get update
    sudo apt-get install sun-java6-jre
    now you can disable the natty partner repository again. (just place a # at the beginning of the deb line

    ## Canonical Partner for natty
    #deb http://archive.canonical.com natty partner

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •