Ehen I am checking my Java version like this:
/rhel/ java -version,
I am not sure why I see openjdk version 1.8.0 runtime environment build ...
, but I was expecting to see java 8
.
Why is that?
8 and java 8?? http://www.oracle.com/technetwork/java/javase/jdk8-naming-2157130.html Java SE Development Kit 8, also known as JDK 8, has the version number 1.8. In short – 8 is product version number and 1.8 is the developer version number (or internal version number). The product is the same, JDK 8, anyways.
OpenJDK is a free and open-source implementation of the Java SE Platform Edition. It was initially released in 2007 as the result of the development that Sun Microsystems started in 2006. We should emphasize that OpenJDK is an official reference implementation of a Java Standard Edition since version SE 7.
Yes, the Red Hat's build of OpenJDK version 8 for RHEL and Windows includes Java Web Start support.
Open command prompt and enter “java –version”. If installed version number is displayed.
From Java Platform, Standard Edition 8 Names and Versions:
In JDK 8 and JRE 8, the version strings are 1.8 and 1.8.0
Why? Because the developers of Java chose to name the versions like this. I can only assume the real reasons, but I think it is, because naming it Java 8 implies that it is new and much better than Java 7 but keeping the version bump from 1.7 to 1.8 indicates that it is still version 1.x and therefore still backwards compatible. In the end it is marketing.
See also Why is Java version 1.X referred to as Java X?.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With