Results 1 to 7 of 7

Thread: Installing JRE on Ubuntu 10.04

  1. #1
    Join Date
    Mar 2012
    Beans
    2

    [solved] Installing JRE on Ubuntu 10.04

    I am very new to Ubuntu. I am trying to install JRE on Ubuntu 10.04.

    I add the partner repository using the following command:

    sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”

    However when I run:

    sudo apt-get update

    I get the following error:

    E: Malformed line 54 in source list /etc/apt/sources.list (dist parse)

    Can someone please tell me what's going wrong? It'll be greatly appreciated. Thanks a lot!
    Last edited by talha099; March 30th, 2012 at 11:44 PM.

  2. #2
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,267
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Installing JRE on Ubuntu 10.04

    Remove that repository and instead add:
    deb http://archive.canonical.com/ubuntu lucid partner

    You can do this in the GUI, if you prefer: System > Administration > Software Sources.
    Problems with WINE?
    Full Circle Magazine :: Confused "allot"? :: Cheap Linux stickers
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

  3. #3
    Join Date
    Sep 2011
    Beans
    11

    Re: Installing JRE on Ubuntu 10.04

    I am not an expert on this but perhaps you can give us more details by posting your sources.list

    Press Alt+F2 (Run Application), type:
    Code:
    gedit /etc/apt/sources.list
    and press ENTER, then copy the contest of the sources.list file here. Hopefully then someone will be able to spot out the cause of the problem.

  4. #4
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Installing JRE on Ubuntu 10.04

    That will, however, leave you with an old Java update with some security issues. Java 6 is now up to Update 31.

    I'm on my cell phone on a train, so I can't give you the link. However, if you google the following terms you will find an excellent, well-explained tutorial for installing Update 31:

    Code:
    easy linux tips java
    Oracle has withdrawn all Sun's previous license agreements and distributions are no longer allowed to maintain the Sun packages as part of their freely downloadable software.
    Last edited by QIII; March 30th, 2012 at 04:04 PM.

  5. #5
    Join Date
    Mar 2012
    Beans
    2

    Re: Installing JRE on Ubuntu 10.04

    It worked.. thanks a lot!


    Quote Originally Posted by QIII View Post
    That will, however, leave you with an old Java update with some security issues. Java 6 is now up to Update 31.

    I'm on my cell phone on a train, so I can't give you the link. However, if you google the following terms you will find an excellent, well-explained tutorial for installing Update 31:

    Code:
    easy linux tips java
    Oracle has withdrawn all Sun's previous license agreements and distributions are no longer allowed to maintain the Sun packages as part of their freely downloadable software.

  6. #6
    Join Date
    Jul 2008
    Location
    Canada
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Installing JRE on Ubuntu 10.04

    I suggest you try This. You need the latest version to help keep your computer protected.
    UsingTheTerminal and PopularPages A very handy Documentation Search Tool used by many.

    Smile today, cry tomorrow!
    ( Read this everyday )

  7. #7
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,267
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Installing JRE on Ubuntu 10.04

    Quote Originally Posted by talha099 View Post
    It worked.. thanks a lot!
    Excellent. Please mark this thread as solved.
    Problems with WINE?
    Full Circle Magazine :: Confused "allot"? :: Cheap Linux stickers
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

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
  •