Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenJDK release notes: does not include jar specification?

Tags:

java

java-11

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.

like image 741
Catweazle Avatar asked Oct 17 '18 10:10

Catweazle


People also ask

What does OpenJDK include?

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).

Does Java JDK 11 include JRE?

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.

Is OpenJDK 11 same as Oracle JDK?

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.


2 Answers

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

like image 120
Lior Bar-On Avatar answered Oct 19 '22 06:10

Lior Bar-On


Oracle provides specifications for topics such as serialization, jar and rmi.

OpenJDK does not provide such specifications.

like image 40
Vince Avatar answered Oct 19 '22 05:10

Vince