Java version schema

With Java 9, the way the Java platform's version is displayed has changed. Here is an example of a Java 8 version format:

Now let's look at how Java 9 reports its version:

As you can see, with Java 9, the version schema is $MAJOR.$MINOR.$SECURITY.$PATCH. This is markedly different from previous versions of Java. This will only impact your applications if you have code that parses the string returned by the java -version command and option.

Lastly, let's see how Java 10 (18.3) reports its version:

With Java 10, 11, and for the foreseeable future, the version schema is $YY.$MM. This is a change starting with Java 10. If you have any code that evaluates what is returned by the java -version command and option, you will likely need to update your code.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset