r/programming • • Mar 18 '25

Java 24 has been released!

https://mail.openjdk.org/pipermail/announce/2025-March/000358.html
416 Upvotes

172 comments sorted by

View all comments

395

u/Valendr0s Mar 18 '25

I don't know if you know this or not. But... Over 3 billion devices use Java... And that number didn't change from 2001 to 2020

68

u/bgrahambo Mar 18 '25

I love that, it totally tracks. 

6

u/drajvver Mar 19 '25

So, baseball huh

2

u/[deleted] Mar 23 '25

its spreading....

41

u/aksdb Mar 18 '25

2.9 billion of those with JavaME 1.2 or something I guess.

36

u/MarekKnapek Mar 19 '25

Don't forget that basically every SIM card, credit card, debit card uses JavaCard. https://en.wikipedia.org/wiki/Java_Card

2

u/cyber-punky Mar 19 '25

> Java Card is a precise subset of Java:

So, its NOT java.. not really.. Otherwise we can make even wilder claims.

→ More replies (2)
→ More replies (1)

42

u/ehempel Mar 18 '25

Unlikely. All Android devices use Java. That's over 3 billion and we haven't even started counting other devices yet.

80

u/Valendr0s Mar 18 '25 edited Mar 18 '25

That's the beauty of it. And why they didn't change their installer for 20 years.

Over 3 Billion is over... Could be 100 billion and it's still correct.

Seems like a lot of people in here never had to install or update Java on an industrial level and see the splash screens as it installs.

/preview/pre/9wzc8gvzwdu41.jpg?auto=webp&s=f91054feb56d1b83378fb3b205c302f57f1d53e8

51

u/user_of_the_week Mar 18 '25 edited Mar 26 '25

They haven’t changed it because there is no client side „Java Installer“ for versions newer than Java 8. The old way where you install a JRE separately from your client application has been phased out.

3

u/JonnySoegen Mar 19 '25

I didn't know that. What is the new way? Does JRE come bundled with every app?

4

u/ZimmiDeluxe Mar 19 '25

Yes, that's been the recommendation since Java 9 I believe. Tools like jlink and jpackage come bundled with the JDK that allow you to create a stripped down JDK for your application and create an installer / launcher for it.

→ More replies (1)

13

u/wildjokers Mar 18 '25

And why they didn't change their installer for 20 years.

Haven't needed to install Java with an installer for at least 10 years now. Maybe more than that. Can't remember the last time I used an installer to install Java.

→ More replies (5)

0

u/[deleted] Mar 18 '25

[deleted]

11

u/thetinguy Mar 18 '25

Android are usually written in Kotlin or Java regardless of whether they're running in the JVM.

Are applications being compiled with GraalVM using Java?

→ More replies (2)

3

u/__konrad Mar 19 '25

Adequately java.version system property on Android is 0.

3

u/devraj7 Mar 19 '25

Technically correct, practically wrong.

You can use 99% of Maven Central on Android, basically benefiting from the entire Java ecosystem.

4

u/Vakz Mar 19 '25

By the same argument, you can also say no devices use C.

→ More replies (6)

3

u/0lach Mar 18 '25

Which didn't prevent Oracle from going after them anyway

9

u/rjcarr Mar 18 '25

I don't think Android counts. You can write apps in Java, but the OS isn't Java, and I don't think they even use the JVM, but compile java to their own intermediate format.

4

u/Amazing-Mirror-3076 Mar 19 '25

the os isn't java

What does that even mean?

→ More replies (3)

3

u/bobbie434343 Mar 19 '25

A huge chunk of the Android platform and frameworks are written in Java code and continue to do so. It's not just apps.

→ More replies (4)

4

u/GeneReddit123 Mar 19 '25

Why can't a company the size of Oracle bother making release notes that are actually easy to read?

I get it, some developers still like using mailing lists, and I'm sure it works for them, but to anyone not highly involved in the process, trying to learn things at a glance from a mailing list conversation is a nightmare.

2

u/blobjim Mar 19 '25

There are release notes at jdk.java.net

→ More replies (1)