The JDK 11 release notes say:
Oracle JDK includes additional Java SE specifications (such as serialization, jar, rmi) and OpenJDK does not.
Anyone knows in what way OpenJDK does not include the jar specification? For sure it can work with jar files and the jar and jarsigner tools are present in the distribution.
A few notable components that fall under the OpenJDK project include the Java class library, the Java compiler, the Java Runtime Environment (JRE) and the Java virtual machine (JVM).
In JDK 11, this is no longer an option. In this release, the JRE or Server JRE is no longer offered. Only the JDK is offered. Users can use jlink to create smaller custom runtimes.
There's no real technical difference between the two, since the build process for Oracle JDK is based on that of OpenJDK. When it comes to performance, Oracle's is much better regarding responsiveness and JVM performance. It puts more focus on stability because of the importance it gives to its enterprise customers.
The specification is just documentation, like a manual. e.g. The Java language specification.
Binary wise - OpenJDK 11 and Oracle JDK 11 are equal. There is no Java class available in one, and not available on the other.
From Java 11 forward, therefore, Oracle JDK builds and OpenJDK builds will be essentially identical.
Source: Oracle Blog
Oracle provides specifications for topics such as serialization, jar and rmi.
OpenJDK does not provide such specifications.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With