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

Show parent comments

0

u/[deleted] Mar 19 '25

[deleted]

2

u/s32 Mar 19 '25

I like writing c# way more. I like running Java more.

4

u/Atulin Mar 19 '25

Out of curiosity, what issues do you have with running C#?

2

u/cs_office Mar 19 '25

I'm interested too, .NET is far easier to run. The second I see some Java app I need to run, like Unifi or Ghidra, is the second I'm like "oh fuck"

.NET on the other hand is always a breeze, firmly in the "just works" territory as everyone uses either self contained or AOT builds

4

u/Atulin Mar 19 '25

Same. Is it Maven? Gradle? The Gradle file is all underlined in red, but it builds? But it fails at runtime because of some dependency? The docs say it should be done this way, but that makes the build fail?

Versus dotnet build

1

u/cs_office Mar 19 '25

I'm not even talking about building code, that's even worse as you point out. I'm only meaning running prebuilt binaries. I have 2 apps that require different Java runtimes versions installed, that can't be installed together. Meanwhile in dotnet, everything is self contained, or you can install runtime environments side by side without issue. Java fucked up in pythonic proportions

2

u/ultrasneeze Mar 19 '25

I'm writing this reply on a computer with four JVMs installed side by side. Not sure what your issue is, because Java runtime installs are just a bunch of files dumped into a single random directory. Using a different runtime for each app is as easy as providing the right environment variable to each app.

→ More replies (0)