Stable Java Version
Stable Java Version
Stable Java Version
[closed]
Asked 7 months ago Modified 7 months ago Viewed 6k times
Almost all the Java applications are now moved to Java 8 as it is the least most stable version of
Java. Looking to know which will be the next most stable version? Is it Java 11 or more than
-2 that?
I read lot of articles but I am very confused about the next most stable version of Java as some
refer to Java 11 as the least stable version and some mention that Java 21.
java version
Share Improve this question Follow asked Dec 17, 2023 at 19:13
Anirban
17 1 3
5 The LTS versions are 8, 11, 17 and 21. Non-LTS versions are not supported as soon as the next release
is published (so basically after ~6 months). All versions are "stable" since they all pass the TCK.
– Turing85 Dec 17, 2023 at 19:17
1 What is that you find confusing? – aled Dec 17, 2023 at 19:34
the "latest" and the "most stable" is kind of opposite of each other - the latest is Java 23, but that is
early access, not stable - if you want more stable, you must take earlier versions. As of now, Java 21 is
the latest released (non early-access) one – user85421 Dec 17, 2023 at 22:12
2 The reason applications are sticking with Java 8 has nothing to do with its stability. They are sticking
with 8 because it was the last version of Java that allowed illicit, improper hacks of the Java SE library.
Authors of other libaries were warned for years that they should not do that, but they decided it was
cool and “clever” to do it regardless, and now applications which use those libraries are stuck. – VGR
Dec 18, 2023 at 0:19
What did you find when you went to the official Java website? And what do you mean by "most
stable"? – TylerH Dec 20, 2023 at 17:57
Add a comment
Features not yet complete are held back for possible inclusion in the next release, six
months later, when the next train leaves the station.
Implementations of the Java specifications follow this same six-month cadence. (See FAQ.) The
most important of the implementations is the open-source codebase at the OpenJDK project.
However that project publishes only source code, not binaries nor installers.
For JDK products delivered as binaries or installers, choose from any of several vendors:
IBM
Red Hat
Amazon
Azul Systems
Microsoft
BellSoft
Oracle
SAP
… and more
Most of the JDK/JRE products from various vendors are based largely, if not entirely, on the
OpenJDK codebase.
All of these JDK products are thoroughly tested. Nearly all have been tested by the Technology
Compatibility Kit (TCK). Some are also subjected to the Eclipse AQAvit™ test suite.
So every JDK product from any of these vendors is high quality and production ready. You can
always deploy the latest release of Java.
Your confusion may come from the fact that most releases of Java are supported for a short
time only. The support period typically runs from launch to a few months after the succeeding
version’s launch, for a total of about nine months. That is generally the case, though each
vendor makes their own support policy. Any vendor may offer extended support, perhaps for a
fee.
Java 8
Java 11
Java 17
Java 21
Be very clear though: These LTS versions are not any more reliable or stable than the other
versions. Every version of Java is feature-complete, and of the highest quality. The LTS versions
are not any more important or better than the short-lived versions. The LTS designation is an
arbitrary one, based on the calendar, not on quality.
Java is perhaps the most thoroughly examined and well tested software ever made (outside of
specialty fields such as aerospace or military).
The choice is yours to make based on your development and deployment situation, without
concern for the quality of any particular Java version.
Share Improve this answer Follow edited Dec 18, 2023 at 21:59 answered Dec 17, 2023 at 21:41
Basil Bourque
327k 115 905 1.2k
Add a comment
Not the answer you're looking for? Browse other questions tagged java version or ask your
own question.
STACK OVERFLOW PRODUCTS COMPANY STACK EXCHANGE NETWORK Blog Facebook Twitter LinkedIn Instagram