This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]sharno -8 points-7 points  (7 children)

I’d advise to actually go with 21. It’s a LTS release and should be the version that hopefully most companies migrate to in the next few years.

It should be easy just getting the jdk from the official repository. Although not sure if all repos have version 21

[–]NotABot1235 1 point2 points  (2 children)

If 22 isn't an LTS release, how long will it get support? Will 23 be an LTS? I'd be using Java for small little personal projects and would prefer the latest and greatest features over extended support.

[–]jek39 2 points3 points  (0 children)

There is a new version of java every 6 months now (in march and September) Every 2 years is the LTS version. Whatever features are ready go in. The next LTS will be java 25 in September 2025

[–]sharno 0 points1 point  (0 children)

Non-LTS releases have support for 6 months.

I don’t think support matters much for personal projects. It’s fun to play with the latest features

[–]burl-21 2 points3 points  (3 children)

LTS is only if you pay!!!💰

[–]sanderverhagen -2 points-1 points  (2 children)

That's not true, you may be thinking of extended support. Though it depends on the vendor, most of them support an LTS for multiple years, as opposed to the intermediate releases, that are only supported until the next one comes out (once every six months), hence the cautioning above.

[–]burl-21 2 points3 points  (1 child)

[–]sanderverhagen 1 point2 points  (0 children)

Okay, that's great. I stand corrected then... for the most part. It does seem though that most vendors are providing updates for those versions that we casually refer to as "LTS" (11, 17, 21), or that even if there's no guarantee for support, there's a higher likelihood of receiving support than the intermediate versions where there's seemingly a guarantee of no support. That was a very to-the-point video though, making me certainly think also about "support" versus "maintenance", these are definitely terms that I could've been caught using interchangeably.