Results 1 to 6 of 6

Thread: OpenJDK or official oracle java?

  1. #1
    Join Date
    Jul 2011
    Location
    Lebanon
    Beans
    10
    Distro
    Ubuntu 13.10 Saucy Salamander

    OpenJDK or official oracle java?

    Hello,

    What do you install openjdk or official oracle java? for developping with java on ubuntu?

  2. #2
    Join Date
    Aug 2013
    Beans
    4

    Re: OpenJDK or official oracle java?

    Feel free to use either. I prefer the openjdk, it lags slightly in development behind the official, but it's in the main repository and gets updated with the rest of your system. Oracle's packaging (at least on Windows) tends to be bundled with nuisanceware that you have to opt out of (a search bar and an update notifier from memory).

  3. #3
    Join Date
    May 2007
    Location
    Leeds, UK
    Beans
    1,675
    Distro
    Ubuntu

    Re: OpenJDK or official oracle java?

    OpenJDK has been a bit flaky in the past but it's much better these days. I've used it successfully on some quite complex projects; things like EJB and Spring/Hibernate.

    I'd agree with the poster above that OpenJDK is easier to install; but there are no nuisanceware problems with Oracle JDK on Ubuntu because there is no installer like there is for Windows and Mac. To install the Oracle JDK you unpack the archive and set it up manually, or there's a PPA available.

    I see OpenJDK as a "good thing" and keep going back to it until it breaks. I've not had it break for a while now.
    Please create new threads for new questions.
    Please wrap code in code tags using the '#' button or enter it in your post like this: [code]...[/code].

  4. #4
    Join Date
    Mar 2005
    Location
    Aremark, NORWAY
    Beans
    11
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: OpenJDK or official oracle java?

    I've installed OpenJDK but it seems it's sill at update 25. Oracle's java is at update 45. Does someone know why Ubuntu is lagging behind on pushing the latest version to it's users? This is causing issues with the applet being blocked on some sites.

  5. #5
    Join Date
    Mar 2009
    Beans
    1,982

    Re: OpenJDK or official oracle java?

    If you're just messing around then OpenJDK is fine, but if you want to develop or use software commercially, then Oracle is the way to go. The PPA is great.

    The lag: This is a discussion all by itself, it's important if you want to really understand how a distro works. You can (and I do) install both ways (ppa vs manual) depending on what I want the java for.

  6. #6
    Join Date
    Mar 2005
    Location
    Aremark, NORWAY
    Beans
    11
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: OpenJDK or official oracle java?

    Just messing about. I'll stick with OpenJDK. Thanks.

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
  •