Java has been such an amazingly solid technological foundation... and for a long, long time! It may not be the most sexy language but it's been a stable one. We have applications created with Java 1.4 running happily on Java 21 LTS and expect to upgrade to this latest LTS (Java 25) soon. Java for the win!
Java 25 officially released
21–30 of 260 posts
Re: Java 25 officially released
#22Java has been such an amazingly solid technological foundation... and for a long, long time! It may not be the most sexy language but it's been a stable one. We have applications created with Java 1.4 running happily on Java 21 LTS and expect to upgrade to this latest LTS (Java 25) soon. Java for the win!
Re: Java 25 officially released
#23Earlier quoted context omitted.
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 chan…
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...
I have a feeling all those companies / orgs would band together to maintain it.
Re: Java 25 officially released
#24Java has been such an amazingly solid technological foundation... and for a long, long time! It may not be the most sexy language but it's been a stable one. We have applications created with Java 1.4 running happily on Java 21 LTS and expect to upgrade to this latest LTS (Java 25) soon. Java for the win!
Neat, I wrote some swing apps back in the day that I've thought about resurrecting, but didn't want to have to do much modifying since they are mostly toys, though useful to me. I'm gonna give it a try!
Re: Java 25 officially released
#25Java has been such an amazingly solid technological foundation... and for a long, long time! It may not be the most sexy language but it's been a stable one. We have applications created with Java 1.4 running happily on Java 21 LTS and expect to upgrade to this latest LTS (Java 25) soon. Java for the win!
Re: Java 25 officially released
#26Earlier quoted context omitted.
Use OpenJDK (or similar) and you are free from any Oracle shenanigans.
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 chan…
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
#27Crazy that it took this long to allow parameter validation and transformation before calling super in the constructor. That was something that always bothered me because it felt so counterintuitive.
Re: Java 25 officially released
#28Earlier quoted context omitted.
Neat, I wrote some swing apps back in the day that I've thought about resurrecting, but didn't want to have to do much modifying since they are mostly toys, though useful to me. I'm gonna give it a try!
Is Swing good now? Usually when people say Java is good now I assume they're not talking about Swing.
I'd use Qt, though if you're not comfortable with C++ I've been told JavaFX is pretty good
Re: Java 25 officially released
#29we decided to bite the bullet and do 21 instead of 17; one of the reasons being 25 being just around the corner.
as far as i can tell, the biggest hurdle is 8 to 11 (with the new modules system); but it's smooth sailing from there. the proof-of-concept was done with jdk17, but it worked as-is with jdk21 (except guice which needed a major version bump).
(of course being with a jvm language instead of java itself also probably helped)
Re: Java 25 officially released
#30I'm not sure I like the module import system very much. I think `import *`-like constructions make code a bit easier to write, but much harder to read, especially for developers new to the language / codebase.
C# and Nim love that style, and it makes them almost unreadable without a good IDE.
Personally, I much prefer Python's "short aliases" style, e.g. `import torch.nn.functional as F`