Announcement

Collapse
No announcement yet.

How to install java in Oneiric?

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

    How to install java in Oneiric?

    On the Sun site, the only downloads for amd64 are in bin files. I can't figure out how to get either one to work. If I could get an RPM, I could use alien.

    I need java in order to use Jalbum.

    Thanks for any help.
    '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 Oneiric?

    Just about all sites work fine with the icedtea Java from the repositories.

    On the Sun Oracle Java web site:
    http://www.java.com/en/download/help...ions.xml#linux
    is a link:
    https://help.ubuntu.com/community/Java

    But if you really want the Sun variety do as they tell you and install the self extracting version like this:
    http://www.java.com/en/download/help/linux_install.xml

    B.t.w, I can really recommend Google to find solutions like these

    Comment


      #3
      Re: How to install java in Oneiric?

      Originally posted by Teunis
      Just about all sites work fine with the icedtea Java from the repositories.

      ...

      B.t.w, I can really recommend Google to find solutions like these
      I agree about Google. But I was on Sun's download page, not the install page you found. The install link on that page goes somewhere else. Sometimes, web links are like spaghetti.

      Thanks for suggesting Icedtea. I will look into it. A couple of releases back, someone recommended NOT using it, but maybe it's better.

      For the moment, I have managed to install openjdk-6 but apparently it installed more than that:

      $grep -i jre packages.installed
      icedtea-6-jre-cacao install
      icedtea-6-jre-jamvm install
      openjdk-6-jre install
      openjdk-6-jre-headless install
      openjdk-6-jre-lib install

      So I am not sure what I am running, but Jalbumworks.


      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


        #4
        Re: How to install java in Oneiric?

        There's a PPA.

        Look here: http://ubuntuguide.net/install-sun-j...n-ubuntu-11-04

        The actual PPA is here: https://launchpad.net/~ferramroberto...java/+packages
        "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


          #5
          Re: How to install java in Oneiric?

          The bin files are actually installers/self extracting archives, you need to download them and then change the permissions on them to make them executable, then launch them from a shell prompt.

          Follow the instructions here: http://www.java.com/en/download/help/linux_install.xml (link provided by Teunis in an earlier post)

          or you can also have a look at this post on Webupd8 which describes using a script to help automate the installation of Java 7 in Ubuntu (should work for Kubuntu as well though): http://www.webupd8.org/2011/09/how-t...-7-jdk-in.html

          The script mentioned in the above article doesn't fully automate the process (you still have to do some manual preparation) but helps make it a bit easier for some people.

          Comment

          Working...
          X