they are all in my /usr/lib/jvm/.. file in my ubuntu machine. Can someone explain the differences between these 4 files and why the file called java1.8.0_91 isn't considered a JDK? I came across these files while finding a JDK for android studio.
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.
The biggest difference between OpenJDK and Oracle JDK is licensing. OpenJDK is completely open source Java with a GNU General Public License. Oracle JDK requires a commercial license under Oracle Binary Code License Agreement. But there are many other differences within support and cost, too.
It is an open-source reference implementation of Java SE platform version 11. Java 11 was released after four years of releasing Java 8. Java 11 comes with new features to provide more functionality. Below are the features which are added in the four and a half years in between these two versions.
Java 17 is an LTS (Long Term Support) version just like Java 11. With Java 11 a new release cadence started. Java 11 came with support up to September 2023 and with an extended support up to September 2026. Also, with Java 11, the Oracle JDK was not free anymore for production and commercial use.
Most of these directories are symlinks to each other. You, probably, have two JDK/JRE installed: Open JDK and Oracle JDK. See here and here for difference between Open JDK/Oracle JDK, and between JDK and JRE. java1.8.0_91
is probably JRE, not JDK.
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