r/programming • • Sep 26 '18

Do not fall into Oracle's Java 11 trap

https://blog.joda.org/2018/09/do-not-fall-into-oracles-java-11-trap.html
797 Upvotes

382 comments sorted by

View all comments

Show parent comments

17

u/jodastephen Sep 26 '18

No. It just means you have to use this URL https://jdk.java.net/11/ to download Java 11 for commercial use at zero-cost. And very soon, this URL will be an even better choice https://adoptopenjdk.net/

-8

u/nilamo Sep 26 '18

But most people won't do that. They'll install "java", without caring which particular runtime they're using, which will then cause them licensing issues. Hoping your end users do the right thing isn't a valid strategy, which means that java simply isn't a valid option for general use anymore.

13

u/Holston18 Sep 26 '18

To my knowledge most linux distros default to openjdk for java.

-7

u/nilamo Sep 26 '18

So it might be fine for server side applications. But MariaConsumer won't bother hunting down a specific variation of a specific version just to try out your email client.

16

u/davidwelch158 Sep 26 '18

An enduser would only need the JVM, not the JDK.

1

u/ArmoredPancake Sep 26 '18

You can bundle JRE with your application, dimwit.

0

u/[deleted] Sep 26 '18

[deleted]

1

u/nilamo Sep 26 '18

You can bundle JRE with your application, dimwit.

Oh ok. I don't java, so I didn't know that was already a thing. Is that common practice these days?

2

u/ArmoredPancake Sep 27 '18

Yep. Big vendors, like JetBrains, bundle patched JRE with them.

14

u/StillNoNumb Sep 26 '18

There's no more JRE. By default, you now deploy applications self-contained with a per-app-JRE.

This sub is being retarded again. That they're going to make this change has been announced years ago; Oracle now officially supports and endorses OpenJDK as the main Java JDK, while Oracle's JDK will remain as an alternative for business customers.