About the old and new Java release models
What the JDK versioning scheme had been before JDK 9
About the new JDK versioning scheme in JDK 9 and its updates in JDK 10
How to parse a JDK version string using the Runtime.Version class
About the formats used to print the Java version string using different options with the java command
Java Release Models
Up to Java 9, which was released in September 2017, Java used a feature-driven release model with a new feature release every 2 years. In this model, every feature release contained one or more major features. Several times, ...