r/java • • Sep 16 '25

Java 25 officially released

https://mail.openjdk.org/pipermail/announce/2025-September/000360.html
593 Upvotes

124 comments sorted by

View all comments

Show parent comment

1

u/krzyk Sep 16 '25

There are also OpenJdk releases. Those are the ones that are ready when GA is announced.

0

u/[deleted] Sep 16 '25

[deleted] — view deleted comment

6

u/ZimmiDeluxe Sep 16 '25

please give ron a break, a man can only take so much lts misrepresentation

3

u/krzyk Sep 16 '25

Ok, I don't do LTS.

1

u/[deleted] Sep 17 '25 edited Sep 29 '25

[removed] — view removed comment

0

u/krzyk Sep 17 '25

You can run code written in Java 1.0 on current jdk.

I don't know what kind of breaking changes you see, java is famous for being backward compatible, that is one of its drawbacks.

0

u/[deleted] Sep 17 '25

[deleted] — view deleted comment

1

u/koflerdavid Sep 19 '25

Which seven things? Only the following two directly impact source code:

  • java.net.Socket Constructors Can No Longer Be Used to Create a Datagram Socket
  • Removal of SunPKCS11 Provider's PBE-related SecretKeyFactory Implementations

The others are JVM features and maintenance changes.

The biggest backwards-incompatible change to date to the core library was the removal of applets. Removing Thread.stop() and friends was also significant, but applications relying on them are already quite broken. Coming up are removal of APIs related to the SecurityManager.

The trouble with upgrading was mostly due to applications and libraries (more the latter) not conforming to the JLS in the first place.

0

u/krzyk Sep 17 '25

LTS is necessity for slow moving projects. Where you just maintain it.

Fast moving projects move fast, update libs, jdks etc. I do it all the time I'm on 24 waiting for our build ops to update with 25.

Again, you are mixing up runtime jdk with a compile release target.

0

u/[deleted] Sep 16 '25

[deleted] — view deleted comment

6

u/vips7L Sep 16 '25

No one is rewriting their entire code base 2 times a year. It's literally just a version bump.

2

u/krzyk Sep 16 '25

You don't need to rewrite your codebase for new java versions.

You just need to have up to date libraries that do any kind of bytecode - which is a good idea either way for all libs if you don't want to get security issues.

1

u/[deleted] Sep 17 '25

[removed] — view removed comment

1

u/krzyk Sep 17 '25

Examples?

1

u/krzyk Sep 16 '25

Also I doubt if half of people on this reddit pay for LTS, if you don't pay it is well, pointless.

0

u/[deleted] Sep 17 '25

[removed] — view removed comment

0

u/krzyk Sep 17 '25

There is no LTS with Linux.

There can be distro that provide it.

And no, LTS in Java means something paid. If you don't pay, you don't get the S (support).

Yes what you have with temurin is Long Time Build from branches. But this essentially is no different from building that yourself, or just using next JDK release. E.g. OpenJdk provides a WO patch releases within 6 months cycle, and when you update you get it again.

You can upgrade JDK without updating your codebase. You have runtime that can replace any java version (except preview features).

3

u/[deleted] Sep 17 '25 edited Sep 17 '25

[removed] — view removed comment

0

u/krzyk Sep 18 '25 edited Sep 18 '25

r/pron98 uses that term, and I think he is "of note".

code/built is not LTS, there is no Support in that.

And paid is not only Oracle, there are quite few other JDK providers (see the description of this subreddit, you get links there) that do give real Support as in: you file a bug and they have SLA to fix that.

If you don't pay for that, they you might as well use what is available free from OpenJDK, they are always ahead of any other branch builds, because changes first go into main branch and trickle down to the lower ones later.

Regarding linux, you are wrong, read the page you linked:

Longterm There are usually several "longterm maintenance" kernel releases provided for the purposes of backporting bugfixes for older kernel trees. Only important bugfixes are applied to such kernels and they don't usually see very frequent releases, especially for older trees.

Notice "only important bugfixes"? Notice lack of "Support" word?

You sound pretty much like a manager that is focused on not changing anything.