|
|
|
|
|
by Freak_NL
1917 days ago
|
|
Java 8 → Java 11 → Java 17. Those are the LTS releases. If you want to follow a release cadence similar to Java 5 → Java 6 → Java 7 → Java 8, that's what you'll track. The intermediate releases can be used to test against, but adopting them too soon often means tackling lots of issues in your dependencies. And updating your application servers to a new major Java version every six months is not something you can do easily coming from older Java versions. It's not impossible, but it may require a different deployment strategy and may not benefit you much over going from LTS to LTS. I think that there is also an unspoken feeling that the LTS releases are more stable, which again may be due to the libraries you depend on not always being as well tested on the intermediate releases. I think a lot of Java developers burned their fingers on Java 9 and 10 and are now sticking to the LTS releases, but that is just my gut-feeling. |
|
LTS doesn't mean anything if you mention just the Java versions.
This is not e.g. Ubuntu LTS.
In java you have different vendors that provide LTS and you need to pay for it.
Oracle, Redhat, etc. provide LTS versions (and those happen to be 8, 11, but don't have to be).
And there is one more sortof LTS: latest java version, because it always gets all the security and other bugfixes. Right now it is Java 16.