Don't get Java 8. Oracle is ceasing public updates for it after Jan 2019. Also, get Java 11, but from OpenJDK, not from Oracle. Oracle's Java 11 ( available here ) has become paid for many uses under their new license. So you don't want to accidentally run afoul of that. So stick to the OpenJDK Java 11 binaries instead, that are available under a GNU GPL2 license. Here's a link to the OpenJDK Java 11 download page: https://jdk.java.net/11/ Also, Java 11 is backward compatible, so when you install Java 11, you anyway get all the features of Java 8, but not vice versa. So might as well install the latest one that has the superset of the features. Answer from CoderMonkey123 on reddit.com
🌐
Red Hat
access.redhat.com › articles › 1299013
OpenJDK Life Cycle and Support Policy - Red Hat Customer Portal
2 weeks ago - OpenJDK 8 in RHEL 9 is usable with any Java applications or library that is compatible with OpenJDK 8 and is compiled with 8 (or lower) as their target bytecode; these applications can't rely on Java components and libraries included currently with RHEL 9 however, since these are compiled targeting OpenJDK 11 bytecode and won't run on an OpenJDK 8 runtime.
🌐
Microsoft Learn
learn.microsoft.com › en-us › java › openjdk › transition-from-java-8-to-java-11
Transition from Java 8 to Java 11 - Azure | Microsoft Learn
Moving to Java 11 is worth the effort. New features have been added and enhancements have been made since Java 8. These features and enhancements improve startup, performance, memory usage, and provide better integration with containers.
Discussions

Java 8 or Java 11?

Don't get Java 8. Oracle is ceasing public updates for it after Jan 2019.

Also, get Java 11, but from OpenJDK, not from Oracle. Oracle's Java 11 (available here) has become paid for many uses under their new license. So you don't want to accidentally run afoul of that.

So stick to the OpenJDK Java 11 binaries instead, that are available under a GNU GPL2 license. Here's a link to the OpenJDK Java 11 download page: https://jdk.java.net/11/

Also, Java 11 is backward compatible, so when you install Java 11, you anyway get all the features of Java 8, but not vice versa. So might as well install the latest one that has the superset of the features.

More on reddit.com
🌐 r/learnjava
13
16
December 27, 2018
java - Differences between Oracle JDK and OpenJDK - Stack Overflow
It takes on a lot of screen estate, ... is bothering me a lot. 2023-08-04T13:03:38.873Z+00:00 ... Kind of weird that the OracleJDK side mentions Sun Microsystems a lot while the OpenJDK side does not. What? LOL. 2024-05-13T17:06:11.14Z+00:00... More on stackoverflow.com
🌐 stackoverflow.com
Upgrading From jdk 8 to OpenJDK 11 - Development - OpenMRS Talk
Hello community I suggest we use OpenJDK 11 instead of OpenJDK 12 for this issue because the former is LTS though the latter is the latest release. FYI @mozzy More on talk.openmrs.org
🌐 talk.openmrs.org
2
May 10, 2019
What is the point of all these new Java versions when Java 8 is all that seems to be supported by most apps?
Because they switched to a new release model which allows for them to get new features out faster. Same thing happened when Firefox and chrome switched to a timed release model. People bitched about version numbers but slowly got use to the fact that "I don't really care that this is firefox 82". From an organization standpoint, this has been great for the Java getting features out. It used to be that they'd say "Ok, we are going to target key feature X for java Y". The problem with that is nearly all project development got devoted to that feature and ultimately "when" java would go out was completely unknown. Further, releases where crazy times for JDK developers. With the new model, they've been able to work on a lot more features in parallel. A ton of usability features made it in (records, pattern matching, string literals) which never would have made it in the old model. Further, it's allowed them to slowly walk in huge features (Valhalla, loom, etc) making pre-emptive changes needed to support massive changes in the future. Post Java 9, the upgrades have been a breeze. Honestly, I almost wish they'd move to an even faster release model to really force people to stop caring so much about these version numbers. Rust does a release every 6 weeks and I think that works great. Nobody cares that it's now Rust 1.50 or whatever. More on reddit.com
🌐 r/java
45
0
April 19, 2021
🌐
IDRSolutions
blog.idrsolutions.com › home › java 8 vs java 11 – what are the key changes?
Java 8 vs Java 11 – What are the Key Changes?
June 27, 2024 - With improvements to compression schemes in Java 9, Pack200 Tools and API have not been used since Java 8 and as such, they have been deprecated. Due to an overlap with the Java EE Platform Specification, the Java EE module has been deprecated and removed. Because it evolves independently of Java SE, the CORBA module has been deprecated and removed. ... The default garbage collector has been changed to G1 – To reduce the pause times for most users the default garbage collector has been switched. OpenJDK is now as close to Oracle JDK binaries as possible, after changing to a more frequent release schedule for Java 9 onwards.
🌐
Scaler
scaler.com › home › topics › what is the difference between java 8 v/s java 11?
What is the Difference between Java 8 vs Java 11? - Scaler Topics
May 21, 2024 - Java 8 supports the enhancement of command line launchers that support the launch of JavaFX applications. Java 11 has brought numerous new features with its release.
🌐
Javatpoint
javatpoint.com › java-8-vs-java-11
Java 8 vs Java 11
Java 8 vs Java 11 with java tutorial, features, history, variables, object, programs, operators, oops concept, array, string, map, math, methods, examples etc.
Find elsewhere
🌐
Marco Behler
marcobehler.com › guides › a-guide-to-java-versions-and-features
Java Versions and Features
May 18, 2026 - Which simply means Java 8. With the switch to time-based releases with Java 9 the naming scheme also changed, and Java versions aren’t prefixed with 1.x anymore. Now the version number looks like this: c:\Program Files\Java\jdk11\bin>java -version openjdk version "11" 2018-09-25 (1) OpenJDK Runtime Environment 18.9 (build 11+28) OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
🌐
Which JDK
whichjdk.com
Which Version of JDK Should I Use? | whichjdk.com
These builds will only be updated for a 6-month period. Updates and security patches will not be available after this short period. This also applies for LTS versions! e.g., the latest OpenJDK 11 build was 11.0.2+9 while the current OpenJDK version is 11.0.12+7.
🌐
Baeldung
baeldung.com › home › java › jvm › differences between oracle jdk and openjdk
Differences Between Oracle JDK and OpenJDK | Baeldung
January 8, 2024 - Also, traditionally “commercial ... Collector, are now available in OpenJDK. Therefore, Oracle JDK and OpenJDK builds are essentially identical from Java 11 onward....
🌐
DZone
dzone.com › coding › java › when will java 11 replace java 8 as the default java?
When Will Java 11 Replace Java 8 as the Default Java?
November 27, 2018 - The end of public updates for Java 8 is scheduled for January of 2019 for commercial use. For non-commercial use, the same is scheduled at an unspecified date in December of 2020. What’s interesting with Java 11, aside from all the added, removed, and deprecated features, is that it won’t be supported by Oracle. In its place, the OpenJDK ...
🌐
Red Hat
access.redhat.com › solutions › 4934371
Why is OpenJDK 8 supported for longer than OpenJDK 11? - Red Hat Customer Portal
November 12, 2024 - The OpenJDK Lifecycle shows that OpenJDK 8 will be supported until Nov 2026, nearly 2 years after OpenJDK 11 support will end in October 2024. Why was OpenJDK 8 supported extended from June 2023 to Nov 2026?
Top answer
1 of 14
440

Both OpenJDK and Oracle JDK are created and maintained currently by Oracle only.

OpenJDK and Oracle JDK are implementations of the same Java specification passed the TCK (Java Technology Certification Kit).

Most of the vendors of JDK are written on top of OpenJDK by doing a few tweaks to [mostly to replace licensed proprietary parts / replace with more high-performance items that only work on specific OS] components without breaking the TCK compatibility.

Many vendors implemented the Java specification and got TCK passed. For example, IBM J9, Azul Zulu, Azul Zing, and Oracle JDK.

Almost every existing JDK is derived from OpenJDK.

As suggested by many, licensing is a change between JDKs.

Starting with JDK 11 accessing the long time support Oracle JDK/Java SE will now require a commercial license. You should now pay attention to which JDK you're installing as Oracle JDK without subscription could stop working. source

Ref: List of Java virtual machines

2 of 14
348

For Java 7, nothing crucial. The OpenJDK project is mostly based on HotSpot source code donated by Sun.

Moreover, OpenJDK was selected to be the reference implementation for Java 7 and is maintained by Oracle engineers.

There's a more detailed answer from 2012 on difference between JVM, JDK, JRE & OpenJDK, which links to an Oracle blog post:

Q: What is the difference between the source code found in the OpenJDK repository, and the code you use to build the Oracle JDK?

A: It is very close - our build process for Oracle JDK releases builds on OpenJDK 7 by adding just a couple of pieces, like the deployment code, which includes Oracle's implementation of the Java Plugin and Java WebStart, as well as some closed source third party components like a graphics rasterizer, some open source third party components, like Rhino, and a few bits and pieces here and there, like additional documentation or third party fonts. Moving forward, our intent is to open source all pieces of the Oracle JDK except those that we consider commercial features such as JRockit Mission Control (not yet available in Oracle JDK), and replace encumbered third party components with open source alternatives to achieve closer parity between the code bases.

🌐
TheServerSide
theserverside.com › news › 252461945 › Red-Hat-replaces-Oracle-as-OpenJDK-8-OpenJDK-11-steward
Red Hat replaces Oracle as OpenJDK 8, OpenJDK 11 steward | TheServerSide
April 18, 2019 - Red Hat will also provide bug and ... are unlikely to be current on security. "There will not be any radical changes to OpenJDK 8, which is in maintenance mode, or OpenJDK 11....
🌐
Jdkcomparison
jdkcomparison.com
JDK Comparison
JDK Comparison allows you to compare JDKs of the most important vendors side-by-side. Filter and sort them by the features that interest you most, like garbage collectors or support.
🌐
OpenMRS
talk.openmrs.org › development
Upgrading From jdk 8 to OpenJDK 11 - Development - OpenMRS Talk
May 10, 2019 - Hello community I suggest we use OpenJDK 11 instead of OpenJDK 12 for this issue because the former is LTS though the latter is the latest release. FYI @mozzy
🌐
OpenLogic
openlogic.com › blog › java-experts-openjdk-vs-oracle-jdk
OpenJDK vs. Oracle JDK: What the Java Experts Say | OpenLogic
Oracle JDK 8 has received what will likely be the last free update and Java 11 was never free so make a plan before you get backed into a corner. OpenJDK is 99% the same code as Oracle JDK (depending on what provider you're getting it from) ...
🌐
Medium
medium.com › @richard.ojo › oracle-java-se-and-openjdk-545effad2f7f
Oracle Java SE and OpenJDK. With the introduction in early 2023 of… | by Richard Olumide Ojo | Medium
November 21, 2023 - There are no real technical differences because Oracle JDK is based on OpenJDK; this is more the case for later versions (Java 11 onwards where there is much less variance between releases from different vendors).
🌐
OpenLogic
openlogic.com › openjdk-downloads
OpenJDK Downloads | OpenLogic
OpenLogic now provides free, quarterly builds of OpenJDK 8, OpenJDK 11, OpenJDK 17, and OpenJDK 21 for Linux, Windows, and MacOS.
🌐
Okta Developer
developer.okta.com › blog › 2019 › 01 › 16 › which-java-sdk
Which Java SDK Should You Use? | Okta Developer
January 16, 2019 - Amazon is the new vendor on the block that’s offering builds of OpenJDK at aws.amazon.com/corretto. Amazon Corretto 8 (based on Java 8) is in preview; there is no Java 11 build available. Corretto 11 is scheduled to be released in Q2 2019. GA for Corretto 8 is Q1.