14

I'm new to Java development under Ubuntu. When I typed javac in the terminal, it prompted me to install OpenJDK and a bunch of other JDKs. I want to know if there is any difference between OpenJDK 7 and Oracle's JDK 7. Are they basically the same? Thanks.

1 Answer 1

8

OpenJDK is the default version of Java that Ubuntu uses and is the easiest to install while Oracle Java 7 is Oracle's own version of Java 7.

You can read Ubuntu Java Documentation.

OpenJDK: "Oracle makes the OpenJDK source code available under an open-source licensing model. It's both gratis, and free (as in freedom) software."

Further as I found in Oracle Java FAQ Section

For Oracle JDK

"The Java Development Kit (JDK) is free to download and use for commercial programming, but not to re-distribute."

2
  • I will use Oracle JDK. Because OpenJDK i have been using several years now, and every day i had nightmares. Since i moved to Oracle JDK all my application problems where solved. That means OpenJDK is bug, to play, to fun, but for Enterprise deploy i will need to always choose Oracle JDK.
    – user25165
    Jun 28, 2013 at 7:45
  • That's an interesting opinion, but could you be more specific ? Have u met problems with threading ? garbage collecting ? And do you think these problems would still be there on openjdk7 and above ?
    – Tristan
    Dec 9, 2016 at 18:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .