They are the same thing. Oracle JDK is built from OpenJDK. It's just OpenJDK with a commercial license. Since Java 11 commercial features were all open sourced (like JFR) or removed so there is no difference anymore. Answer from feral_claire on reddit.com
🌐
Reddit
reddit.com › r/java › openjdk vs. oraclejdk - which are you using?
r/java on Reddit: OpenJDK vs. OracleJDK - which are you using?
June 9, 2017 -

Whenever I install a new linux OS, one of the first things I end up doing is installing the Oracle JDK and changing /usr/bin/java to point to it. In the past, I've found that programs "just work better" when using the Oracle JDK.

However, since OpenJDK became the official Java reference implementation, I'm interested to hear if people have made the switch to using it in a production environment. What are your experiences?

🌐
Reddit
reddit.com › r/learnjava › openjdk vs oracle jdk?
r/learnjava on Reddit: OpenJDK vs Oracle JDK?
January 16, 2022 -

Aside from licensing what are the real differences?

I'm currently studying for the Oracle Certified Associate exam and wanted to download Java 8. I can't see anything changing within the language itself but is there anything I should know before I probably choose OpenJDK?

any reason to get the Oracle version?

EDIT: realised I can download the jdk directly through Intellij and the options are much more varied than I thought..

  1. Amazon Correto

  2. Azul Zulu

  3. BellSoft Liberica

  4. Eclipse Temurin

  5. IBM Semeru

  6. Oracle OpenJDK

  7. SAP sapmachine

What are the differences here? My use case as stated above is to learn for the 1Z0-808 exam.

🌐
Reddit
reddit.com › r/javahelp › openjdk or openjde or oraclejdk? - linux
r/javahelp on Reddit: openJDK or openJDE or OracleJDK? - Linux
January 29, 2023 -

I have two questions:

  1. Which one should I install?

  2. What are the pros and cons of each option?

I'm using POP_OS 22.04/Ubuntu 22.04
My goal is to become a Java dev. I plan to build projects and include them in my portfolio.

Top answer
1 of 4
4
JDK means Java development kit. If you want to develop, you need a JDK. My recommendation would be to install sdkman and use it to install Temurin JDK . For linux, sdkman will make it super easy to manage different java versions.
2 of 4
1
Please ensure that: Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions You include any and all error messages in full You ask clear questions You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions. Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar If any of the above points is not met, your post can and will be removed without further warning. Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png ) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc. Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit. Code blocks look like this: public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } } You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above. If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures. To potential helpers Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
🌐
Reddit
reddit.com › r/java › 36% of developers switched from oracle jdk to an alternate openjdk distribution, over the last year
r/java on Reddit: 36% of developers switched from Oracle JDK to an alternate OpenJDK distribution, over the last year
February 10, 2020 - Big shout out to Devoxx, DevNexus, Jfokus, JCrete, Adopt OpenJDK, VirtualJUG and other Java communities for their invaluable help. Probably not many Joe average developers in that bunch... ... The main reason I switched from Oracle JDK to OpenJDK is because how difficult Oracle has made it to download Oracle JDK.
🌐
Reddit
reddit.com › r/learnjava › oracle vs oracle open vs adoptium jdk 17
r/learnjava on Reddit: Oracle vs Oracle Open vs Adoptium JDK 17
September 17, 2021 -

My Question is about the "where should I download java" section of the reddit sidebar.

Previously I thought the Oracle OpenJDK (from jdk.java.net) or the Adoptium JDK were the best completely free options for updating/upgrading to Java 17. I also thought that Adoptium would be superior in my case as it has a (potential, community based) longer support duration than six months.

But now that the previously not free for all (proprietary and payed) "Oracle JDK" has a different license in Java 17, in comparison to the license that e.g. the Oracle JDK 11 had, I am wondering if should use the Oracle JDK instead, like in pre java 9 times. Or should I still use the Adoptium or the Oracle OpenJDK?

As I understand it, I would get 3 or 4 years of updates for this Java version (17) with the $free version of Oracle JDK, instead of 6 months with the Oracle OpenJDK, or 5 or 8 years with the payed version. (I also know I won't get the extras coming with a payed subscription but my question is just about the support/patch duration anyway.)

Additionally, looking at the Oracle Java SE Roadmap at https://www.oracle.com/java/technologies/java-se-support-roadmap.html, I don't understand if the Java 17 support (updates,patches,(security)fixes) is for 3 years, 4 years, until september 2026 or september 2029? (september 2026 would be the "premier support" for 5 years and september 2029 the "extended support" for 8 years. I am not quite aware of the difference between premier and extended support in the case of a LTS version, and I can't grasp it from the text on the website.)

Summary: Is it better to choose Oracle OpenJDK, Adoptium JDK or the $free version of Oracle JDK, to get the longest duration of security updates?

(I hope r/learnjava is the right subreddit for this. The "where should I download java" section is present in the sidebars of the java, learnjava and javahelp subreddits. So I just tried it here. Furthermore I hope this post isn't too long and multiple question in one post are allowed here.)

Find elsewhere
🌐
Reddit
reddit.com › r/java › openjdk vs oracle
r/java on Reddit: OpenJDK vs oracle
November 11, 2014 -

From what I see oracle jdk isn't present in all major linux distros. There's only openjdk version. So if you want to use oracle, the only option is to download jdk from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html and configure it manually. (or use non official repository)

Openjdk and oracle version are almost identical except some parts (some closed source third party components like a graphics rasterizer, some open source third party components) but will there be problems with say eclipse or idea if you use openjdk?

Which jvm servers use in production and how they intall and update jvm/jdk if it's oracle version? (With openjdk it's easy with package manager) Which jvm/jdk do you use in dev and prod in linux?

It seems to me like java environment is a second class citizen in linux.

🌐
Reddit
reddit.com › r/learnprogramming › can someone explain the whole openjdk vs java thing for me?
r/learnprogramming on Reddit: Can someone explain the whole OpenJDK vs Java thing for me?
January 12, 2017 -

I'm trying to learn Android development and I know Google switched to OpenJDK in Android N due to the lawsuit with Oracle. If I learn Java is it the same as learning OpenJDK and are there differences?

🌐
Reddit
reddit.com › r/linux › "no differences between openjdk builds and oracle jdk binaries within a few releases"
r/linux on Reddit: "no differences between OpenJDK builds and Oracle JDK binaries within a few releases"
September 8, 2017 - I'm not incorrect in my assessment ... it but that's kind of a CentOS vs RHEL difference). Oracle JDK uses a closed library for font-rendering while OpenJDK uses FreeType for example....
🌐
Reddit
reddit.com › r/learnjava › openjdk or oracle jdk?
r/learnjava on Reddit: OpenJDK or Oracle JDK?
September 26, 2018 -

Hi, I haven't even started learning Java yet, but I noticed it seems there are two implementations of Java to choose from, and there doesn't seem to be much difference between the two.

There's OpenJDK and (what I believe is called) Oracle JDK.

As I understand it Oracle JDK uses OpenJDK as a reference, and OpenJDK is open source.

To my mind, that means I should use OpenJDK... but I may well be missing something, so I thought I'd ask here - is there a reason not to go with the Open version?

I did try searching but didn't really find an answer to my question.
Any thoughts?

Thanks.

🌐
Reddit
reddit.com › r/java › better performance? building openjdk with cygwin vs oracle jdk. has anyone ever noticed difference? (for an idiot purpose: gaming)
r/java on Reddit: Better performance? Building OpenJDK with Cygwin vs Oracle JDK. Has anyone ever noticed difference? (for an idiot purpose: Gaming)
April 27, 2021 -

I will get back the use of Java on my gaming system, more specifically for Minecraft (and any other game that use Java)... As many of you guys have made up entire systems, do anyone has migrated from Oracle JDK to OpenJDK and have gained any performance on heavy programs?

Feel free to explain in the same way you explain to a kid. I'm not a programmer, just a guy who likes computers.

🌐
Reddit
reddit.com › r/javahelp › oracle jdk vs openjdk vulnerabilities
r/javahelp on Reddit: Oracle jdk Vs openjdk vulnerabilities
July 20, 2023 -

Oracle java Vs openjdk

Noob here, but would like to ask if vulnerabilities affecting oracle jdk 8 will always affect openjdk 8 implementations? Thanks!

Top answer
1 of 2
1

On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge.

If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options:

  1. Limiting your involvement with Reddit, or

  2. Temporarily refraining from using Reddit

  3. Cancelling your subscription of Reddit Premium

as a way to voice your protest.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2 of 2
1

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions

  • You include any and all error messages in full

  • You ask clear questions

  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

    Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

🌐
Reddit
reddit.com › r/javahelp › differences between different openjdk builds
r/javahelp on Reddit: Differences between different OpenJDK builds
May 1, 2022 -

Hello. I am currently using Amazon Corretto and was wondering if there would be some meaningful difference if I was using 'Microsoft build of OpenJDK' or IBM? How is the build of OpenJDK chosen in real life?

Top answer
1 of 3
2
Yes, of course. In performance, garbage collector, specific jvm settings, cpu and memory allocation. Mainly between Zulu, GraalVM, Oracle JDK. Diff between IBM and Oracle were epic many many years. About Amazon I haven't info.
2 of 3
2
For "OpenJDK" (Amazon Corretto, Microsoft OpenJDK, Oracle OpenJDK, Azul Zulu, Adoptium Eclipse Temurin, BellSoft Liberica JDK, RedHat OpenJDK) builds there is no significant difference out of the box. The ones I listed all pass the TCK so there should be no functional difference. The builds may include some patches that are important for that vendor (e.g. Corretto often backports ARM performance patches to support their graviton instances, Azul Zulu provides some customized/stripped down builds for specialized runtimes.) As well they may have different GC implementations enabled (e.g. Oracle JDK does not have Shenandoah enabled.) On top of those, there are also builds that have more changes (Azul Zing/Platform Prime has a specialized JIT and GC, IBM has their J9 JIT compiler), choosing those is a "you know it when you need it" type scenario. Usually which OpenJDK build to use comes down to licensing/support costs. If you don't need commercial support then Corretto/Zulu/Adoptium/BellSoft are all fine choices that have a long history and provide LTS builds under a permissive license, which one you choose comes down to team/company comfort level with the vendor. If you do need commercial support then it may come down to costs (e.g. already paying for RHEL then Red Hat OpenJDK is supported as part of that.) Which one you choose comes down to whichever vendor provides the most value to you.
🌐
Reddit
reddit.com › r/java › [deleted by user]
[deleted by user] : r/java
May 15, 2024 - Oracle offers two distributions ... JDK. Both are free, but the OpenJDK builds binaries are distributed under the same GPL2+CPE licence as the OpenJDK sources, while the builds known as Oracle JDK have a different, non-opensource licence....
🌐
Reddit
reddit.com › r/java › how can oracle know if someone use their jdk instead of openjdk
r/java on Reddit: How can Oracle know if someone use their JDK instead of OpenJDK
November 13, 2021 -

Hi, i’ve always wondered something regarding commercial sdks. How can a developer of a commercial library or sdk, for example Oracle, know if a company use their product commercially? Are their contacting random companies to audit their backend or is that hypothetical commercial sdk (for example Oracle’s JDK) sending data to their developer?