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.
It was expensive for Google and fighting them would destroy most companies. It’s cheaper to avoid the ecosystem entirely.
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.
I don’t have to fight if I just use something else. There is very little advantage to using Java when everything from .NET to Node to Ruby to Python are all super mature and have a similar amount of open source packages available. There might still be a question of performance and for that we have Go, Rust and elixir- not quite as mature but all still can do everything I need and then some.
As an added bonus, none of those frameworks have Larry Ellison lurking around the corner waiting to sue me if he decides to change the terms of license. Java is dead to me.
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.