- Java 9:Building Robust Modular Applications
- Dr. Edward Lavieri Peter Verhas Jason Lee
- 81字
- 2025-04-04 17:08:34
Java version schema
With Java 9, the way the Java platform's version is displayed has changed. Here is an example of a pre-Java 9 version format:

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

As you can see, with Java 9, the version schema is now $MAJOR.$MINOR.$SECURITY.$PATCH. This is markedly different than with 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.