Results 1 to 5 of 5

Thread: Problems finding OpenJDK

  1. #1
    Join Date
    May 2009
    Beans
    7

    Problems finding OpenJDK

    Hi

    having some problems finding and installing OpenJDK (now that we are discouraged from installing 'real' java.

    This is the response I get
    sudo apt-get install openjdk-7-jre
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package openjdk-7-jre
    Any suggestions on what I should do next?

    Thanks

  2. #2
    Join Date
    May 2009
    Beans
    7

    Re: Problems finding OpenJDK

    Sorry. Should have said ..

    Ubuntu Server 10.04LTS
    New clean install

  3. #3
    Join Date
    Apr 2005
    Location
    EU - UK
    Beans
    3,318
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Problems finding OpenJDK

    Try
    Code:
    sudo apt-get install openjdk-6-jre

  4. #4
    Join Date
    May 2009
    Beans
    7

    Re: Problems finding OpenJDK

    That did the trick!

    Thanks

    So you would wonder why does the OpenJDK website suggest the 7 is available?

    http://openjdk.java.net/install/

  5. #5
    Join Date
    Jan 2009
    Beans
    Hidden!

    Re: Problems finding OpenJDK

    Quote Originally Posted by Crispness View Post
    That did the trick!

    Thanks

    So you would wonder why does the OpenJDK website suggest the 7 is available?

    http://openjdk.java.net/install/
    well assume for 10.04 there is the version 6 in the repository, in some more recent ubuntu versions the 7 might come up.

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
  •