Prior to Java9, java do not follow standard version scheme format. For example, the updates are given like below.
Java SE 8 Update 131
Java SE 8 Update 145
From Java9 onwards, Java define a version-string scheme that easily distinguishes major, minor, and security-update releases.
For example, if you run ‘java -version’ command on jdk8, you will receive following kind of output.
$java -version
java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)
When you run ‘java -version’ command on jdk9, you will receive following kind of output.
$ 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)
9.0.4 follows the convention Major.Minor.Security.
Major: Specify Major release like significant features. Features may be removed in a major release.
Minor: The minor version number, incremented for a minor update release that may contain compatible bug fixes.
Security: The security level, incremented for a security-update release that contains critical fixes including those necessary to improve security.
Reference
https://openjdk.java.net/jeps/223
No comments:
Post a Comment