Results 1 to 10 of 10

Thread: Install JRE in 10.10

  1. #1
    Join Date
    Jan 2011
    Beans
    7

    Install JRE in 10.10

    I've tried every tutorial out there and cant install JRE on my VPS. Can someone please help me.

  2. #2
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,630

    Re: Install JRE in 10.10

    Code:
    sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner";apt-get update -y;apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
    No go?

  3. #3
    Join Date
    Jan 2011
    Beans
    7

    Re: Install JRE in 10.10

    It worked. Will this also work under 10.04? Im installing minecraft but the hMod wont install on 10.10 however on a friends server (10.04) it installed fine. So will that code work for 10.04 ubuntu?

  4. #4
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,630

    Re: Install JRE in 10.10

    Actually that code is for 10.04 (Lucid).

    Change it to maverick for 10.10.

  5. #5
    Join Date
    Jan 2011
    Beans
    7

    Re: Install JRE in 10.10

    Okay sorry for all the changes. This will be final. I need help installing JRE on 9.04. I had to switch VPS providers because the one I had was just awful in support and reliability. So my new one only offers Ubuntu 9.04 64bit. Well it offers other versions but 9.04 is the latest on there. So once and for a all can someone provide me with the command to install JRE on 9.04? Thanks so much.

  6. #6
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,630

    Re: Install JRE in 10.10

    You had better switch providers again. Ubuntu 9.04 64bit is EOL and not supported anymore.

  7. #7
    Join Date
    Jan 2011
    Beans
    7

    Re: Install JRE in 10.10

    What about 9.10?

  8. #8
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,630

    Re: Install JRE in 10.10

    Quote Originally Posted by dz93 View Post
    What about 9.10?
    Sure

    Code:
    sudo add-apt-repository "deb http://archive.canonical.com/ karmic partner";apt-get update -y;apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

  9. #9
    Join Date
    Jan 2011
    Beans
    7

    Re: Install JRE in 10.10

    Okay so I tried 9.10 using the command above and 10.04 using the very first command. However each time I get this.

    sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner";apt-get update -y;apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
    sudo: add-apt-repository: command not found
    Get:1 http://archive.ubuntu.com lucid Release.gpg [189B]
    Get:2 http://archive.ubuntu.com lucid-updates Release.gpg [198B]
    Get:3 http://archive.ubuntu.com lucid-security Release.gpg [198B]
    Get:4 http://archive.ubuntu.com lucid Release [57.2kB]
    Get:5 http://archive.ubuntu.com lucid-updates Release [44.7kB]
    Get:6 http://archive.ubuntu.com lucid-security Release [38.5kB]
    Get:7 http://archive.ubuntu.com lucid/main Packages [1383kB]
    Get:8 http://archive.ubuntu.com lucid/restricted Packages [6193B]
    Get:9 http://archive.ubuntu.com lucid/universe Packages [5430kB]
    Get:10 http://archive.ubuntu.com lucid-updates/main Packages [425kB]
    Get:11 http://archive.ubuntu.com lucid-updates/restricted Packages [3267B]
    Get:12 http://archive.ubuntu.com lucid-updates/universe Packages [175kB]
    Get:13 http://archive.ubuntu.com lucid-security/main Packages [119kB]
    Get:14 http://archive.ubuntu.com lucid-security/restricted Packages [14B]
    Get:15 http://archive.ubuntu.com lucid-security/universe Packages [54.4kB]
    Fetched 7736kB in 26s (291kB/s)
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree... Done
    Package sun-java6-jre 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-jre has no installation candidate
    Last edited by dz93; January 10th, 2011 at 12:03 AM.

  10. #10
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,630

    Re: Install JRE in 10.10

    Okay then we need to edit sources.list manually.

    Code:
    sudo nano /etc/apt/sources.list
    And add to the bottom:

    For 9.10

    Code:
    deb http://archive.canonical.com/ karmic partner
    For 10.04

    Code:
    deb http://archive.canonical.com/ lucid partner

    If you not familiar with nano, Ctrl+O saves and Ctrl+X exits.

    Now try:

    Code:
    sudo apt-get update; sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
    Sorry I gave you commands for the Desktop version.
    Last edited by wojox; January 10th, 2011 at 04:54 AM.

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
  •