I am not a java developer so I do not know much about different versions of Java
I have an application asking me to have jdk 1.8 but when I google jdk download I get jdk 19
the difference is big from 1.8 to 19
are these same jdk but 19 is a newer version of it or not?
CodePudding user response:
No. Those are absolutely different versions.
Java 1.8
is also known as Java 8
(initially released in March 2014).
Java 19
is a non-LTS version released in September 2022.
After Java 9, the release cadence changed to 6-month releases. That's why such differences in version numbers.
In general terms, newer versions should be back-compatible with older ones.
CodePudding user response:
Those versions are different versions of Java. Jdk 1.8 is for Java 8 (as Jdk 1.7 is for Java 7) and Jdk 19 is for Java 19. Take look at those links bellow to understand the versions history: