3 ms·
The Oracle Java Trap
Programmers of HN, next time when you think about downloading Java from Oracle's website, just have a look at this license[1] first. Hint: you aren't allowed a commercial use.
[1] https://www.oracle.com/technetwork/java/javase/terms/license/javase-license.html
- mtmail 7y agoRelated https://blog.joda.org/2018/09/do-not-fall-into-oracles-java-11-trap.html https://blog.joda.org/2018/09/do-not-fall-into-oracles-java-... (on HN https://news.ycombinator.com/item?id=18074727 https://news.ycombinator.com/item?id=18074727)
- kevinherron 7y agoYou are allowed to use it for development purposes, though. If you don't want to pay for support to deploy with Oracle JDK then use one of the alternatives (OpenJDK/AdoptOpenJDK, Amazon Corretto, Azul).
- dragonwriter 7y agoOTOH, if you are going to deploy with OpenJDK (etc.), why not develop with the same implementation?
- kevinherron 7y agoAgreed, I just want to make it clear that by downloading and developing with the Oracle JDK you haven't irreversibly stumbled into some licensing trap. At this point there's really no reason to consciously choose the Oracle JDK. Even if you want a supported JDK experience you're better off getting it from a company like Azul (we've had a good experience with them so far, anyway).
- umen 7y agoWhat is the future of Java in the next 5 years ? What do you think ? I don't see enterprise going to pay. Is it going I slowly die?
- dragonwriter 7y agoEnterprise will pay for stability until they've evaluated alternatives, but unless Oracle JDK support or features provide at least an apparent benefit justifying the additional cost, they’ll switch to an alternative.
- jryan49 7y agoJust use OpenJDK https://adoptopenjdk.net/ https://adoptopenjdk.net/ https://aws.amazon.com/corretto/ https://aws.amazon.com/corretto/ https://developers.redhat.com/products/openjdk/overview/ https://developers.redhat.com/products/openjdk/overview/
- dhruvkar 7y agoI had trouble running Android Studio on Ubuntu 18.04 (specifically the emulator) with OpenJDK and ended up having to use Oracle Java. I assume there are other such compatibility issues as well. Is there a list of projects somewhere that work with both, work with Oracle and that work with OpenJDK?
- jryan49 7y agoThere should be essentially none [0]. There is no list because there are no issues between using OpenJDK vs Oracle for virtually any project. The JDK's are 99.99% the same. Doesn't android studio come with it's own OpenJDK implementation? [1]. 0: https://www.baeldung.com/oracle-jdk-vs-openjdk https://www.baeldung.com/oracle-jdk-vs-openjdk 1: https://intellij-support.jetbrains.com/hc/en-us/articles/206544879 https://intellij-support.jetbrains.com/hc/en-us/articles/206...