Results 1 to 2 of 2

Thread: Installing the latest JDK

  1. #1
    Join Date
    Jun 2011
    Location
    Solon, Ohio
    Beans
    15
    Distro
    Ubuntu 11.04 Natty Narwhal

    Installing the latest JDK

    Hello, I'm new to Ubuntu, and I'm currently a college student in a Java Development Class.

    I was wondering how to update my JDK from 1.6 to 1.7. I've downloaded the .rpm, but I'm not sure where to go from there.

    Thanks for the help

    -Egregious

  2. #2
    Join Date
    Jan 2007
    Location
    the outer rim
    Beans
    367
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Installing the latest JDK

    you don't want the .rpm for use with Ubuntu. ".rpm " is for "redhat package manager". Ubuntu uses .deb files. I always go with the self extracting binary (works for both).

    download the .bin and put it in a folder in your /home...extract.

    Heres the fun part.....set the BASH path variable in .bashrc. I assume you know this all ready but it's worth mentioning. All you have to do is point .bashrc at the newer JDK.
    Hit me back if you need help setting the variable in BASH.

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
  •