When you run java -version , you will typically see output like java version "1.8.0_xxx" .
This versioning style dates back to Java's early history (e.g., Java 5 was internally 1.5) and was only changed to simpler whole numbers starting with Java 9. java runtime 1.8