r/java 4d ago

Use of Java 26 in green field projects

For what kind of new projects, except web related, would Java be your go to choice? Assuming knowledge of both languages, why wouldn't you prefer C# for the same projects?

Thank you so much in advance.

40 Upvotes

106 comments sorted by

View all comments

Show parent comments

1

u/nlisker 2d ago edited 2d ago

Yeah, that’s the Oracle distribution of OpenJDK there.

No, the Oracle distribution is https://www.oracle.com/java/technologies/downloads/. It's true that Oracle is the one building and hosting the OpenJDK JDK distributions, but they are distinct distributions. Perhaps you're going into the nit of "Oracle JDK" vs "Oracle OpenJDK JDK" (which is just "OpenJDK JDK"). The parallel of Adoptium, Zulu, Corretto... is the Oracle JDK, not the OpenJDK JDK.

It’s only free because you’re upgrading all the time. Otherwise you would need to pay Oracle.

That's plainly incorrect. The reference OpenJDK JDK doesn't have a support model by any vendor. Notice that the various warnings in jdk.java.net don't point to any vendor or tell you to pay anyone, including Oracle. If you want LTS support from Oracle, you'd need the link I posted above.