News for hackers. Stuff that matters.
Re:Java 25 Officially Released by 112233 on Tuesday September 16, 2025 @11:36AM (#45263717)
What is the current situation of using Java (from legal standpoint)? In open source and in commercial setting? Oracle has a lot of fantastic technology locked up in Java (things like Truffle), how reasonable it is for new projects?
Re:Java 25 Officially Released by exabrial on Tuesday September 16, 2025 @11:54AM (#45263946)
There is literally 0 worry. OpenJDK is fully open source.
Re:Java 25 Officially Released by piva00 on Tuesday September 16, 2025 @11:38AM (#45263733)
Use OpenJDK (or similar) and you are free from any Oracle shenanigans.
Re:Java 25 Officially Released by ffsm8 on Tuesday September 16, 2025 @11:44AM (#45263820)
I don't disagree (it is gpl licenced after all)- but it's worth keeping in mind that openjdk is still provided by oracle, too.

And all the other variants ultimately just repackage it. So if oracle doesn't care about destroying the Java IP, it definitely could cut everyone off from updates going forward.

I don't think they'll do so however, MySQL is still freely usable too, right? And that's oracle IP too.

Might change if they ever get into financial troubles, but that's the same issue with all languages and frameworks.

Re:Java 25 Officially Released by thuridas on Tuesday September 16, 2025 @12:16PM (#45264264)
And there is Amazon Correcto, Eclipse Temurin...

Sure, that could stop to maintain it, but would put the power immediately in the hands of other companies with a fork

That said, you always have oracle's greediness...

Re:Java 25 Officially Released by giancarlostoro on Tuesday September 16, 2025 @12:42PM (#45264605)
> Sure, that could stop to maintain it, but would put the power immediately in the hands of other companies with a fork

I have a feeling all those companies / orgs would band together to maintain it.

Re:Java 25 Officially Released by pron on Wednesday September 17, 2025 @10:45AM (#45276490)
Amazon Corretto and Eclipse Temurin are developed and licensed by Oracle. They are just packaged and distributed by Amazon and IBM respectively. If you report an issue against them, the Amazon/IBM people will forward the issue to us at Oracle to resolve.

BTW, I don't dispute that Oracle is greedy, but I find the suggestion that Amazon, IBM, Google, MS etc. are any less so laughable.

Re:Java 25 Officially Released by miki123211 on Tuesday September 16, 2025 @12:46PM (#45264672)
Honestly, Java is one of those technologies I would never worry about in this way.

It is used everywhere. Just among the faang companies, Apple, Amazon, Netflix and Google definitely use it at scale, and they're just the tip of the iceberg. Taking away JVM updates would almost be a company-ending event for them, and they definitely have the resources to keep it alive if Oracle ever dies.

Re:Java 25 Officially Released by deepsun on Tuesday September 16, 2025 @12:27PM (#45264402)
It's only a consideration if you are going to write your own Java implementation and distribute it.
Re:Java 25 Officially Released by whartung on Tuesday September 16, 2025 @01:00PM (#45264855)
The only real nut right now is, if you're using the Oracle distributions, only the latest LTS is, essentially, free to do anything with.

Older releases are under their OTN license, which is only for personal and development, but not production.

Again, this only matters if you want an Oracle sticker on your runtime, OpenJDK and the other projects are full boat "do whateva" JDKs.

Re:Java 25 Officially Released by wmwragg on Tuesday September 16, 2025 @01:51PM (#45265476)
Note that the previous Java LTS release license reverts to the OTN license one year after the new Java LTS version is published, making it no longer free, assuming you keep up with the security updates. See the license note on the Java 21 LTS version[1].

[1] https://www.oracle.com/uk/java/technologies/downloads/#java2...

Re:Java 25 Officially Released by jeroenhd on Tuesday September 16, 2025 @01:30PM (#45265217)
OpenJDK is pretty much open and straight from Oracle.

If you don't like Oracle (and I wouldn't blame you), there are alternatives from parties ranging from the Eclipse Foundation to Microsoft and Amazon that will do the same thing.

As for new projects, Java is here to stay. It's longevity is part of why companies are still using Java 8/11; once you write it, it'll run pretty much forever.

The language lags behind in terms of features compared to pretty much any competitor, but it's functional enough to get anything important done.

I'd personally go Kotlin if you were to rely on the JVM (almost entirely because Java still lacks nullable types which means nullpointerexceptions are _everywhere_) or C# if you don't like the Kotlin syntax, but Java is Good Enough.

Re:Java 25 Officially Released by nirvdrum on Wednesday September 17, 2025 @02:04AM (#45272297)
Truffle is not part of OpenJDK. It's a separate project and licensed under the Universal Permissive License: https://github.com/oracle/graal/tree/master/truffle.

The UPL is an OSI-approved open source license. It shouldn't be a problem to use in any setting, but you should check with your legal team to see what licenses are approved.