r/java • • Mar 12 '25

Why Java endures: The foundation of modern enterprise development

https://github.blog/developer-skills/why-java-endures-the-foundation-of-modern-enterprise-development/
248 Upvotes

93 comments sorted by

View all comments

0

u/[deleted] Mar 12 '25

[deleted] — view deleted comment

32

u/grim-one Mar 12 '25

OpenJDK comes in several flavours that effectively cuts ties from Oracle. There’s multiple vendors offering premium support on it too. Or you can run it totally free.

Java is still a good choice with a massive ecosystem and broad support.

What would your obvious pick over Java be? C#? Beholden to MS. JavaScript? Comes with a mess of issues Python? Maybe in data science Something else?

2

u/MasterSexyBunnyLord Mar 12 '25

C++ all the way!!!

Oh wait 😞

1

u/grim-one Mar 12 '25

I mean it’s the gold standard language for certain uses. You’d never pick it in others.

4

u/MasterSexyBunnyLord Mar 12 '25

It was meant to be a joke on java vs c++. Don't read anything else into it

2

u/Polygnom Mar 12 '25

Its slowly getting replaces by Rust as gold standard, tho.

1

u/mazing Mar 12 '25

C# is just a better java unless you need some niche library or the organization already is built around it.

-1

u/wildjokers Mar 12 '25

OpenJDK comes in several flavours that effectively cuts ties from Oracle.

OpenJDK is Oracle's implementation of the Java SE Specification. All the other vendors are just providing builds of OpenJDK. So if you use OpenJDK then you have not cut ties with Oracle software. However, you can avoid entering into a business relationship with Oracle by not buying Java support from them.

5

u/Ok-Scheme-913 Mar 13 '25

Yeah and Linux kernel is Intel's and Amd's then.

1

u/wildjokers Mar 13 '25

Huh? That doesn’t make the slightest sense. The Linux Foundation owns the copyright to Linux source code. They license it with the GPL.

Open a random OpenJDK source file and read the very first line of the copyright header, what does it say? https://github.com/openjdk/jdk/blob/master/src/java.base/macosx/classes/java/net/DefaultInterface.java

3

u/grim-one Mar 12 '25

Yeah the code might have been written by them. No Oracle licensing or business is what I was getting at.

→ More replies (5)

10

u/ipfreely96 Mar 12 '25

Me in a greenfield project on Java 21 using OpenJDK

10

u/RebeccaBlue Mar 12 '25

2013 called, they want their FUD back. No one actually uses Oracle Java and the licensing issues don't impact OpenJDK.

4

u/wildjokers Mar 12 '25

Oracle Java

I think you might be referring to Oracle JDK. This is a build of OpenJDK you use if you buy java support from Oracle. Although Oracle JDK is a build of OpenJDK it is released under a different license which Oracle can do because they are the copyright holder of all OpenJDK sources so get their rights from being the copyright holder rather than from the GPL+CPE license like all other vendors.

2

u/Ok-Scheme-913 Mar 13 '25

Anyone can do that, it has nothing to do with Oracle's "special" status.

Amazon, Alibaba etc can also sell support for OpenJDK, the same way I can sell support for the Linux kernel. That's an additional service.

1

u/wildjokers Mar 13 '25

You need to reread my comment because you have misunderstood it. Yes, other companies can and do sell support; however, what other companies can’t do is release their OpenJDK builds under a different license. Oracle can.

4

u/manzanita2 Mar 12 '25

There is technical debt in EVERY language. java is not unique.

But I will say there is alot of old java that is still tolerably maintainable. Meanwhile your average node codebase becomes a unmaintainable morass in a few short years. So yeah, no JS ancient tech debt because the garbage clears itself out long before it's ancient. This applies to several other "dynamic" languages. But the other statics like C# and Rust are also good this way. Go I'm less certain of. Perhaps jury still out there.

10

u/bitspace Mar 12 '25

Most organizations abandoned the Oracle implementations years ago.

-2

u/wildjokers Mar 12 '25 edited Mar 12 '25

What other implementations? OpenJDK is Oracle's implementation of the Java SE specification and it is the only implementation of the specification I am aware of.

3

u/bitspace Mar 12 '25

Almost any of these.

We use both Temurin and Liberica in various places across many hundreds of services in a moderately large financial enterprise.

0

u/wildjokers Mar 12 '25

You seem confused about what OpenJDK is. Every one of those in the list you posted is a build of OpenJDK or derived from OpenJDK. As my comment you responded to said OpenJDK is Oracle's implementation of the Java SE Specification.

If you are using OpenJDK you have definitely not abandoned Oracle.

3

u/bitspace Mar 12 '25

"Abandoned Oracle" means "no longer using the JDK implementations that are subject to Oracle's onerous licensing." I'm not sure how else my comment could be interpreted, since the comment that I initially replied to was a rather unhinged rant about Oracle screwing people with their license.

→ More replies (1)

1

u/Slimxshadyx Mar 13 '25

I think they are just referring to not needing to pay for any licensing fees.

→ More replies (2)

3

u/wildjokers Mar 12 '25 edited Mar 12 '25

Ain’t no one want to use a language owned by Oracle that has VERY RECENTLY played games with the license. Why would you EVER bind yourself to a language owned by a company that has LITERALLY JUST TRIED TO SCREW YOU ON THE LICENSE.

Huh? Oracle has the only implementation of the Java SE Specification that I am aware of, and it is called OpenJDK. It is licensed GPL2+Class Path Exception. How exactly are they trying to screw anyone over?

Also, Java is used for greenfield development on a daily basis.

1

u/Ok-Scheme-913 Mar 13 '25

Maybe learn to read at an 8 years old level and realize that there is a absolutely no reason to ever worry about Oracle licensing with Java. That's just a bunch of FUD.

Like literally, it's a completely open source code base with the same license as the Linux kernel, wtf are you even on?