this post was submitted on 30 Sep 2024
340 points (98.9% liked)

Programmer Humor

19302 readers
1304 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] abbadon420@lemm.ee 37 points 1 day ago (5 children)

Java is also a lot of fun in this regard. They've actually dropped support for java 8 about 2.5 years ago. But Oracle has added a "premium subscription" that gives companies another decade or so of extra support to delay updating their code even further. https://endoflife.date/oracle-jdk

[–] elvith@feddit.org 19 points 1 day ago (1 children)

Worse yet. They switched licensing and costs several times and companies should prepare to get hit with new licensing fees:

When they introduced Java 17 (a LTS version), they published it under the NTFC license. This means, this version is usable for free, but only until the next LTS version has been out for a year.

On Sep 19th 2023, Java 21 was released another LTS version. That means, that Java 17 just switched from the NTFC license to the OTNLA license a few days ago - which means, Java 17 is supported until 2029 but you now need a paid license to use it.

Hope everyone upgraded to Java 21 or newer in time.

[–] Vivendi@lemmy.zip 8 points 19 hours ago (1 children)

Isn't this only for Oracle's JDK?

Just use an open source fucking solution

[–] elvith@feddit.org 2 points 18 hours ago

Yes, it’s just Oracle - Temurin, Coretto,… are all safe.

Oracle offers (paid) support for its Java distribution, which might be why it’s still used by companies…

[–] MHanak@lemmy.world 12 points 1 day ago (1 children)

Isn't java generally backwards compatible? I switch java versions willy nilly in my (small) projects and never really noticed any problems when upgrading the version

[–] abbadon420@lemm.ee 13 points 1 day ago (1 children)

Yes sure, but not forwards compatible. That means if you need to fix a bug or add a feature in a project that is build on java 8, you cannot use language features from later versions. They are pretty important features at that, like a workable Http client, modules, container compatibility, records and enhanced switch statements. It is not fun to work like that, it's what makes good programmers want to become chicken farmers.

[–] dandi8@fedia.io 4 points 20 hours ago (1 children)

Are you complaining that older versions of Java don't have the features of newer versions of Java...?

[–] abbadon420@lemm.ee 3 points 20 hours ago

No, of course not. The complaint is having to work with outdated materials.

[–] Kissaki@programming.dev 1 points 16 hours ago

oh, that's a cool website

adds it to bookmarks and search bookmarks

[–] smeg@feddit.uk 1 points 16 hours ago

Doesn't every company offer that? "Yeah we're really done supporting this, but if you want to spend a million quid a month on it then sure, you can have ultra extra extended support", then every old company that relies on this for their money-printing machine and can't be bothered updating their ancient code sends them a blank cheque.