Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: Install Java

  1. #1
    Join Date
    Aug 2007
    Beans
    155

    Install Java

    SOLVED after a reboot after folloiwng instructions described in #3 and #4 below. See post # 14 on next page for the corect solution for Ubuntu 10.04.To play Pogo games I need to install Java. I have downloaded /home/USER/Desktop/jre-6u14-linux-i586.bin, but the only instructions I see require root access which I understand is blocked by Ubuntu. How can I get java installed?
    Last edited by oldtraveler; May 1st, 2010 at 10:54 PM.

  2. #2
    Join Date
    Aug 2007
    Beans
    874
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Install Java

    You could run the file you downloaded by first changing it to executable
    Code:
    chmod +x /home/USER/Desktop/jre-6u14-linux-i586.bin
    and then running it
    Code:
    /home/USER/Desktop/jre-6u14-linux-i586.bin
    However, for simplicity, I strongly recommend that you install the plugin and JRE from the repositories
    Code:
    sudo apt-get install sun-java6-jre
    sudo apt-get install sun-java6-plugin

  3. #3
    Join Date
    Aug 2007
    Beans
    155

    Re: Install Java

    However, for simplicity, I strongly recommend that you install the plugin and JRE from the repositories
    Code:
    sudo apt-get install sun-java6-jre
    sudo apt-get install sun-java6-plugin
    [/QUOTE]
    After doing this I end up with an open terminal showing

    user@userl-desktop:~$ sudo apt-get install sun-java6-jre
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    sun-java6-jre is already the newest version.
    sun-java6-jre set to manually installed.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    user@user-desktop:~$ sudo apt-get install sun-java6-plugin
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following NEW packages will be installed:
    sun-java6-plugin
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 1960B of archives.
    After this operation, 102kB of additional disk space will be used.
    Get:1 http://us.archive.ubuntu.com jaunty-updates/multiverse sun-java6-plugin 6-14-0ubuntu1.9.04 [1960B]
    Fetched 1960B in 0s (4284B/s)
    Selecting previously deselected package sun-java6-plugin.
    (Reading database ... 125100 files and directories currently installed.)
    Unpacking sun-java6-plugin (from .../sun-java6-plugin_6-14-0ubuntu1.9.04_i386.deb) ...
    Setting up sun-java6-plugin (6-14-0ubuntu1.9.04) ...

    user@user-desktop:~$

    Pogo game still says I need Java.

    I also tried Synaptic. Still no go.
    Last edited by oldtraveler; July 17th, 2009 at 08:05 PM.

  4. #4
    Join Date
    Aug 2007
    Beans
    155

    Re: Install Java

    It seems that I must treat the above as two commands and do them one at a time. Then after a re-boot it seems to work. Thank you.
    Last edited by oldtraveler; July 24th, 2009 at 07:04 PM.

  5. #5
    Join Date
    Aug 2007
    Beans
    155

    Re: Install Java

    Skip to post #14 below on the next page for the correct solution for Ubuntu 10.04.

    In Ubuntu 10.04 you must enable an additional repository http://archive.canonical.com/ubuntu/pool/partner/


    Open System ▸ Administration ▸ Software Sources and select Other
    Software.


    Click Add to add a new repository.


    Enter the APT line for the extra repository. This should be
    available from the website of the repository, and should look like
    the following:



    deb http://archive.canonical.com/ubuntu/pool/partner/ lucid main


    Click Add Source and then click


    Close to save your changes.


    You will be notified that the information about available
    software is out-of-date. Click Reload.






    Packages from the new repository should now be available in your
    package manager.
    Last edited by oldtraveler; May 1st, 2010 at 10:49 PM.

  6. #6
    Join Date
    Dec 2006
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Install Java

    Now why is it I can go to the web page ok, but after adding the repo I try it via Synaptic and get this error:
    Failed to fetch http://archive.canonical.com/ubuntu/...86/Packages.gz 404 Not Found
    Last edited by NoVista; April 21st, 2010 at 01:13 AM.

  7. #7
    Join Date
    Aug 2007
    Beans
    155

    Re: Install Java

    I am a newbie to Ubuntu so I don't know that I have an answer for you except to ask "Did you follow all of the instructions EXACTLY?" Also I am on a 64 bit system which may have a bearing. Are you using Ubuntu 10.04 beta?

  8. #8
    Join Date
    Jan 2009
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Install Java

    You can also install ubuntu-restricted-extras
    Code:
    sudo apt-get install ubuntu-restricted-extras
    It will install some other useful stuff along with java.

  9. #9
    Join Date
    Dec 2006
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Install Java

    I'm on my laptop now and get the same error results.
    On the laptop, I installed ubuntu extras, (for the heck of it?).
    sun-java6 is still no where to be found.
    10.04 on both machines.

  10. #10
    Join Date
    Dec 2006
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Install Java

    I found my answer here, at the bottom of the page >>
    http://www.ubuntu.com/getubuntu/releasenotes/1004

    Adding this repository works >>
    deb http://archive.canonical.com/ lucid partner

Page 1 of 3 123 LastLast

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
  •