Java version notation comparison

All environments are Windows

In addition, the system properties that can be obtained with the following Java code are excerpted and described.

jshell> System.getProperties().entrySet().stream().collect(Collectors.toMap(entry->{return String.valueOf(entry.getKey());}, entry->entry.getValue())).entrySet().stream().sorted(java.util.Map.Entry.comparingByKey()).forEach(entry->{System.out.println(String.format("%s : %s", entry.getKey(), entry.getValue()));});

AdoptOpenJDK 11 (Added on 2018/10/04)

> java -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment AdoptOpenJDK (build 11+28-201810022317)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11+28-201810022317, mixed mode)

System.getProperties


**Excerpt**
java.class.version : 55.0
java.runtime.name : OpenJDK Runtime Environment
java.runtime.version : 11+28-201810022317
java.specification.name : Java Platform API Specification
java.specification.vendor : Oracle Corporation
java.specification.version : 11
java.vendor : Oracle Corporation
java.vendor.url : http://java.oracle.com/
java.vendor.url.bug : http://bugreport.java.com/bugreport/
java.vendor.version : AdoptOpenJDK
java.version : 11
java.version.date : 2018-09-25
java.vm.compressedOopsMode : Zero based
java.vm.info : mixed mode
java.vm.name : OpenJDK 64-Bit Server VM
java.vm.specification.name : Java Virtual Machine Specification
java.vm.specification.vendor : Oracle Corporation
java.vm.specification.version : 11
java.vm.vendor : Oracle Corporation
java.vm.version : 11+28-201810022317

OpenJDK 11 (Oracle build version)

> java -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)

System.getProperties


**Excerpt**
java.class.version : 55.0
java.runtime.name : OpenJDK Runtime Environment
java.runtime.version : 11+28
java.specification.name : Java Platform API Specification
java.specification.vendor : Oracle Corporation
java.specification.version : 11
java.vendor : Oracle Corporation
java.vendor.url : http://java.oracle.com/
java.vendor.url.bug : http://bugreport.java.com/bugreport/
java.vendor.version : 18.9
java.version : 11
java.version.date : 2018-09-25
java.vm.compressedOopsMode : Zero based
java.vm.info : mixed mode
java.vm.name : OpenJDK 64-Bit Server VM
java.vm.specification.name : Java Virtual Machine Specification
java.vm.specification.vendor : Oracle Corporation
java.vm.specification.version : 11
java.vm.vendor : Oracle Corporation
java.vm.version : 11+28

Oracle JDK 11

> java -version
java version "11" 2018-09-25
Java(TM) SE Runtime Environment 18.9 (build 11+28)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11+28, mixed mode)

System.getProperties


**Excerpt**
java.class.version : 55.0
java.runtime.name : Java(TM) SE Runtime Environment
java.runtime.version : 11+28
java.specification.name : Java Platform API Specification
java.specification.vendor : Oracle Corporation
java.specification.version : 11
java.vendor : Oracle Corporation
java.vendor.url : http://java.oracle.com/
java.vendor.url.bug : http://bugreport.java.com/bugreport/
java.vendor.version : 18.9
java.version : 11
java.version.date : 2018-09-25
java.vm.compressedOopsMode : Zero based
java.vm.info : mixed mode
java.vm.name : Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name : Java Virtual Machine Specification
java.vm.specification.vendor : Oracle Corporation
java.vm.specification.version : 11
java.vm.vendor : Oracle Corporation
java.vm.version : 11+28

Oracle JDK 10

> java -version
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)

System.getProperties


**Excerpt**
java.class.version : 54.0
java.runtime.name : Java(TM) SE Runtime Environment
java.runtime.version : 10.0.1+10
java.specification.name : Java Platform API Specification
java.specification.vendor : Oracle Corporation
java.specification.version : 10
java.vendor : Oracle Corporation
java.vendor.url : http://java.oracle.com/
java.vendor.url.bug : http://bugreport.java.com/bugreport/
java.vendor.version : 18.3
java.version : 10.0.1
java.version.date : 2018-04-17
java.vm.compressedOopsMode : Zero based
java.vm.info : mixed mode
java.vm.name : Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name : Java Virtual Machine Specification
java.vm.specification.vendor : Oracle Corporation
java.vm.specification.version : 10
java.vm.vendor : "Oracle Corporation"
java.vm.version : 10.0.1+10

Oracle JDK 9

> java -version
java version "9.0.4"
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)

System.getProperties


**Excerpt**
java.class.version : 53.0
java.runtime.name : Java(TM) SE Runtime Environment
java.runtime.version : 9.0.4+11
java.specification.name : Java Platform API Specification
java.specification.vendor : Oracle Corporation
java.specification.version : 9
java.vendor : Oracle Corporation
java.vendor.url : http://java.oracle.com/
java.vendor.url.bug : http://bugreport.java.com/bugreport/
java.version : 9.0.4
java.vm.compressedOopsMode : Zero based
java.vm.info : mixed mode
java.vm.name : Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name : Java Virtual Machine Specification
java.vm.specification.vendor : Oracle Corporation
java.vm.specification.version : 9
java.vm.vendor : Oracle Corporation
java.vm.version : 9.0.4+11

Oracle JDK 8

> java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

System.getProperties


**Excerpt**
java.class.version : 52.0
java.runtime.name : Java(TM) SE Runtime Environment
java.runtime.version : 1.8.0_181-b13
java.specification.name : Java Platform API Specification
java.specification.vendor : Oracle Corporation
java.specification.version : 1.8
java.vendor : Oracle Corporation
java.vendor.url : http://java.oracle.com/
java.vendor.url.bug : http://bugreport.sun.com/bugreport/
java.version : 1.8.0_181
java.vm.info : mixed mode
java.vm.name : Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name : Java Virtual Machine Specification
java.vm.specification.vendor : Oracle Corporation
java.vm.specification.version : 1.8
java.vm.vendor : Oracle Corporation
java.vm.version : 25.181-b13

Recommended Posts

Java version notation comparison
Java version notation that changes in Java 10
Java version check
[Java] Map comparison
Java framework comparison
[Java] Convert PDF version
[Java] String comparison and && and ||
Switching java version (memorial)
[Development] Java framework comparison
Learning Java framework # 1 (Mac version)
Java version control on macOS
Java version 8 and later features
How to lower java version
java ArrayList, Vector, LinkedList comparison
Version control Java with SDKMAN
[Java] Type conversion speed comparison
Java version control with jenv
Java version change on CentOS
Simplify java version switching (Mac)
[Java] Speed comparison of string concatenation
[Java version] The story of serialization
Java comparison using the compareTo () method
Java
Java
[Java] Correct comparison of String type
Add index with Java8 Stream.map (tuple version)
Regarding String type equivalence comparison in Java
Java Integer comparison (==) does not work correctly
[Java] Is reflection really heavy? Performance comparison
Using JavaScript from Java in Rhino 2021 version
Installation of OMC APM Agent --Java version-
Eclipse screen layout change method (Java version)
Java version control with jenv on OSX
[Java / Swift] Comparison of Java Interface and Swift Protocol
[Java] Collection and StringBuilder operation method comparison
Download and install Eclipse (Java) (Mac version)
How to install the legacy version [Java]
[Java] Comparison of String type character strings
Java version control using cask + anyenv + jenv
java Calendar class (time set, comparison, format)
# Java: vol1: [java / JDK version control best practice]
Java installation (Mac, Homebrew, multiple version control)