Announcement

Collapse
No announcement yet.

RESOLVED: How to install java in 10.04?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    RESOLVED: How to install java in 10.04?

    I can not find how to install java jre (Sun).

    I do have the lucid universe directories in /etc/apt/sources.list

    $ grep universe sources.list
    ## team. Also, please note that software in universe WILL NOT receive any
    deb http://fr.archive.ubuntu.com/ubuntu/ lucid universe
    deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid universe
    deb http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe
    deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-updates universe
    # deb http://fr.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    # deb-src http://fr.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    deb http://security.ubuntu.com/ubuntu lucid-security universe
    deb-src http://security.ubuntu.com/ubuntu lucid-security universe

    In the past, I have installed it at one time or another with adept, from an rpm file or with apt-get. What is the preferred method this week?

    Thanks in advance.
    'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

    #2
    Re: How to install java in 10.04?

    Don't use KPackageKit. Use Synaptic or sudo apt-get install from the console (CLI). Either allow you to respond to the EULA that will pop-up, and that you still have to use the Tab key to get to the Okay button and then press Enter in order to acknowledge before the package will fully install.

    sun-java6-jre is what's in the repositories for Lucid.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: How to install java in 10.04?

      Originally posted by Snowhog
      sun-java6-jre is what's in the repositories for Lucid.
      Actually, Sun's java has been moved to the "partner" repository for lucid...only openjdk java is in standard repositories.

      For Sun's java you need to add the partner repository, for sources.list:
      deb http://archive.canonical.com/ubuntu/ lucid partner

      Comment


        #4
        Re: How to install java in 10.04?

        Originally posted by kubicle

        Actually, Sun's java has been moved to the "partner" repository for lucid...only openjdk java is in standard repositories.

        For Sun's java you need to add the partner repository, for sources.list:
        deb http://archive.canonical.com/ubuntu/ lucid partner
        Nice of them to move it around frequently. Keeps us on our toes.

        Thanks.
        'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

        Comment


          #5
          Re: How to install java in 10.04?

          Originally posted by kubicle
          Originally posted by Snowhog
          sun-java6-jre is what's in the repositories for Lucid.
          Actually, Sun's java has been moved to the "partner" repository for lucid...only openjdk java is in standard repositories.

          For Sun's java you need to add the partner repository, for sources.list:
          deb http://archive.canonical.com/ubuntu/ lucid partner
          Many thanks indeed for that invaluable piece of information - I was wondering where it had gone.

          Regards .....
          Kubuntu User #9802
          Linux Registered User #357086

          Comment


            #6
            Re: How to install java in 10.04?

            Originally posted by kubicle
            For Sun's java you need to add the partner repository, for sources.list:
            deb http://archive.canonical.com/ubuntu/ lucid partner
            I don't believe I added it at all. I think it is already part of Software Sources (Other Software tab). It may be that you have the activate (check) it - mine is so checked.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Re: How to install java in 10.04?

              Originally posted by Snowhog
              Originally posted by kubicle
              For Sun's java you need to add the partner repository, for sources.list:
              deb http://archive.canonical.com/ubuntu/ lucid partner
              I don't believe I added it at all. I think it is already part of Software Sources (Other Software tab). It may be that you have the activate (check) it - mine is so checked.
              On new installations of lucid the partner repo is already included in the sources list (but not enabled), so you only need to enable it (either manually or with software sources).

              Comment


                #8
                Re: RESOLVED: How to install java in 10.04?

                I'm a newbie at this, and I need to install the java you're talking about. Would you mind giving me the directions, step by step on how to add (or activate) the partner repository? I don't even know where to look for the repository you refer to. I'd be grateful if you'd help me out with this.
                PETERV<br />17&quot; MacBook Pro - Snow Leopard<br />OS&#39;s: Snow Leopard 10.6.4/Kubuntu 10.04/Windows XP Pro SP3<br />Parallels 5.0<br />2.5 GHz Intel Core 2 Duo 4GB SDRAM<br />WD 1TB My Book Studio quad-interface External Drive

                Comment


                  #9
                  Re: RESOLVED: How to install java in 10.04?

                  An excellent explanation for Ubuntu is given at

                  https://help.ubuntu.com/community/Repositories/Ubuntu

                  To install synaptic, just use

                  sudo apt-get update
                  sudo apt-get install synaptic

                  Hope this helps.
                  'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

                  Comment


                    #10
                    Re: How to install java in 10.04?

                    Originally posted by kubicle
                    Originally posted by Snowhog
                    sun-java6-jre is what's in the repositories for Lucid.
                    Actually, Sun's java has been moved to the "partner" repository for lucid...only openjdk java is in standard repositories.

                    For Sun's java you need to add the partner repository, for sources.list:
                    deb http://archive.canonical.com/ubuntu/ lucid partner
                    What in the world is "deb"? Bash doesn't recognize it.
                    Running Kubuntu 10.04 LTS 32bit on an EeePC netbook (model: 1005HAB).&nbsp; <br /><br />Found the following image online and thought it was funny:<br />

                    Comment


                      #11
                      Re: RESOLVED: How to install java in 10.04?

                      What in the world is "deb"?
                      Look a:t http://en.wikipedia.org/wiki/Deb_(file_format)

                      In this case it is a Repository.

                      Look at: http://www.ubuntugeek.com/how-instal...ucid-lynx.html

                      It can be added with the command: sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”
                      "A problem well stated is a problem half solved." --Charles F. Kettering
                      "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

                      Comment


                        #12
                        Re: RESOLVED: How to install java in 10.04?

                        See Repositories/Ubuntu - What are Repositories
                        Windows no longer obstructs my view.
                        Using Kubuntu Linux since March 23, 2007.
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment


                          #13
                          Re: RESOLVED: How to install java in 10.04?

                          In case of x64 computer and 64b Kubuntu, does the repository take 64b version of sun jre?

                          Comment


                            #14
                            Re: RESOLVED: How to install java in 10.04?

                            Originally posted by arochester
                            .......
                            It can be added with the command: sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”
                            sudo add-apt-repository “deb http://archive.canonical.com/ubuntu lucid partner”
                            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                            – John F. Kennedy, February 26, 1962.

                            Comment

                            Working...
                            X