this post was submitted on 11 Jun 2024
343 points (99.1% liked)

Programming

18364 readers
143 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
(page 3) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 103 points 8 months ago* (last edited 8 months ago) (18 children)

Lol brb gonna share this with the CFO and watch them go into a panic. Going to bet they'll freak out and by the end of 2024, no more Java for us.

This is the golden ticket I've been waiting for.

[–] [email protected] 14 points 8 months ago
load more comments (17 replies)
[–] [email protected] 32 points 8 months ago (2 children)
[–] [email protected] 49 points 8 months ago (3 children)

It's so easy to use openjdk. I think the lesson is stop using oracle

[–] [email protected] 13 points 8 months ago (5 children)

My employer has a pretty large presence in AWS. We finished migrating to Amazon’s Corretto (based on openjdk) months ago. It was pretty painless given we already use Amazon’s Linux distros.

load more comments (5 replies)
load more comments (2 replies)
load more comments (1 replies)
[–] [email protected] 131 points 8 months ago (2 children)

Oracle is a law firm with a large IT department.

They've been giving us shit because they "see downloads from our IP addresses". It's an absolute shake-down operation. They let anybody download their poisoned jvm for free and then tell your company that they now owe them a fortune.

[–] [email protected] 44 points 8 months ago (1 children)

It's time for corporate IT to block that download

[–] [email protected] 19 points 8 months ago (7 children)

We'd love to but we do have some legitimate needs for it since Oracle software requires their jvm. It's a massive pain in the ass.

load more comments (7 replies)
load more comments (1 replies)
[–] [email protected] 73 points 8 months ago (3 children)

One Rich Asshole Called Larry Ellison

[–] [email protected] 15 points 8 months ago

Not going to lie, that is the only way I remember how to spell the company name now.

[–] [email protected] 9 points 8 months ago (1 children)

Wired name for a lawn mower.

[–] [email protected] 3 points 8 months ago

Are lawn mower names normally wireless?

Anti Commercial-AI license

load more comments (1 replies)
[–] [email protected] 79 points 8 months ago* (last edited 8 months ago) (1 children)

Oracle quoted us 30K because a small handful of our users needed to use a .jnlp application a couple times per year. It took me a couple of days but I got it working with Corretto and a program called OpenWebStart.

load more comments (1 replies)
[–] [email protected] 15 points 8 months ago

Corpos nagging corpos? I'll get the popcorn.

[–] [email protected] 58 points 8 months ago (8 children)

This is how Oracle finally kills Java. I stopped working with Java many years ago and firmly believe that no developer should tie themselves to this fuckery. Find a new job before it's too late.

[–] [email protected] 18 points 8 months ago (1 children)

Nah, my company still uses Java but an open source version (Eclipse Temurin). We haven't used Oracle Java in like 4 years.

[–] [email protected] 65 points 8 months ago (4 children)

This is only very indirectly related to Java as a whole. the reference implementation of the jvm is open source and managed by a coalition of companies under a GPL license, the OpenJDK.

Oracle has its own set of enhancements to the reference jvm that handle things like just-in-time compilation and garbage collection differently and have some additional flags that allow for more fine-grained tweaking of certain features.

There are many other companies that do the same.

Oracle only started doing this in 2019 so many companies who were running Java before this used the Oracle JVM out of convenience, even if they weren't going to use the tweaked parts. So everyone switched to another implementation, OpenJDK, Amazon Coretto, Eclipse J9 or some other available JRE/JDK.

In 2023 Oracle cracked down harder trying to get people to pay for licenses and changed their terms such that any company with even 1 employee using an Oracle JVM had to pay for every employee in the company. ridiculous I know.

This is just more news about Oracle's licensing crackdown and not about Java as a whole at all. Think of it more like the Unity licensing change and you're telling people to stop coding in C#.

[–] [email protected] 1 points 8 months ago

The open source implementation replicates the same bugs as the oracle JVM for compatibility. So you're still beholden to oracle for fixes and that's why none should ever use a proprietary language

[–] [email protected] 4 points 8 months ago
[–] [email protected] -5 points 8 months ago (4 children)

I'm aware of the jdk alternatives and I will never use any of them because Oracle might some day decide that they're an IP violation like they did with Google's Android. I'm sure you'll tell me something about the licensing being different but that still will not matter because there is always the possibility that Oracle will change their mind and start messing with me for sport. The Java ecosystem is rotten from the top down because Oracle cannot be trusted.

[–] [email protected] 47 points 8 months ago (2 children)

Oracle might some day decide that they're an IP violation like they did with Google's Android

They lost that case. It went all the way to the US Supreme Court and set a binding precedent that an API re-implementation falls under the Fair Use doctrine. Maybe Oracle could try some excuse to say that OpenJDK is different enough from what Android did for that precedent to apply, but it would be a major uphill battle, and they know it.

[–] [email protected] -1 points 8 months ago (1 children)

C# is a better language anyway.

I expect the future is in Rust and C#.

[–] [email protected] 3 points 8 months ago

Oh I agree. I love C#. My uni taught most of its classes in Java, but my work has been mostly C#, and it's a huge step up. It would be my choice 100% of the time if starting a new project where the decision is between those two. But if I were using Java via OpenJDK, I wouldn't be afraid of a lawsuit; that's the only point I wanted to make.

[–] [email protected] 3 points 8 months ago (1 children)

It was expensive for Google and fighting them would destroy most companies. It's cheaper to avoid the ecosystem entirely.

[–] [email protected] 19 points 8 months ago (1 children)

It was expensive for Google, but they've done the hard work of establishing the precedent. It's much easier to fight when you have a strong binding precedent on your side.

[–] [email protected] 17 points 8 months ago (1 children)

OpenJDK is released under the GPL. That requires making any patents available for free to users.

They could theoretically change their mind and try some shit, but the GPL is hard to go "backsies" on.

[–] [email protected] -5 points 8 months ago (2 children)

Feel free to use it, as long as you're willing to pay lawyers to fight them when they decide otherwise.

[–] [email protected] 11 points 8 months ago (1 children)

You're just spreading FUD now.

[–] [email protected] -2 points 8 months ago (1 children)

It's just my reasoning as to why I won't use Oracle products. Feel free to put your own company at risk.

[–] [email protected] 7 points 8 months ago* (last edited 8 months ago) (1 children)

I f'ing love how you're blaming me personally. Don't be a dick.

BTW - don't mistake "cynicism" for "reasoning".

[–] [email protected] -3 points 8 months ago (1 children)

Sorry, I have my own company, my choices matter, you should blame whomever made that choice for you.

It's not necessarily cynicism if it's based on previous patterns of behavior. Oracle reveals themselves to be run by bullies again and again and I choose to not put myself at risk. You do you.

[–] [email protected] 8 points 8 months ago (1 children)

It’s not necessarily cynicism if it’s based on previous patterns of behavior.

It's exactly what it is because you're ignoring facts that contradict your position because "I've been hurt before". The OpenJDK license is currently the MOST permissive it's ever been. And that was done by Oracle which is shocking to me.

The GPL is an old and well accepted license and there are lots of groups who will jump to defend it. And there are lots of companies backing the OpenJDK that aren't Oracle. Oracle would need to fight Amazon, Microsoft, IBM (RedHat), the Eclipse Foundations, etc. if they wanted to change that.

[–] [email protected] -5 points 8 months ago (10 children)

Sorry, no, I will not go back to my abuser because they say it's different this time.

load more comments (10 replies)
load more comments (1 replies)
load more comments (2 replies)
load more comments (1 replies)
load more comments (6 replies)
[–] [email protected] 62 points 8 months ago (1 children)

Oracle was one of the first companies on my personal shit-list. I feel validated.

I fucking knew it

[–] [email protected] 8 points 8 months ago (1 children)
load more comments (1 replies)
load more comments
view more: ‹ prev next ›