14 ms·
Some options for those who prefer to avoid the Oracle minefield: https://adoptium.net https://adoptium.net https://aws.amazon.com/corretto https://aws.amazon.
by 5e92cb50239222b 3y ago
Some options for those who prefer to avoid the Oracle minefield:
https://adoptium.net https://adoptium.net
https://aws.amazon.com/corretto https://aws.amazon.com/corretto
https://www.azul.com/downloads https://www.azul.com/downloads
https://bell-sw.com/pages/downloads https://bell-sw.com/pages/downloads
Sadly, no-one has managed to package it yet, but we should get something in the next couple of days. Since 21 is an "LTS" release, major Linux distributions will provide a runtime pretty soon. Ubuntu backports them to old releases too.
- geodel 3y agoWhat is that minefield? How is avoided by repackagers? Do they take legal liability of Oracle lawsuits related to Java?
- belter 3y ago"Oracle(Java) is knocking at my company's door and they want money." - https://www.reddit.com/r/sysadmin/comments/165kzxg/oraclejava_is_knocking_at_my_companys_door_and/ https://www.reddit.com/r/sysadmin/comments/165kzxg/oraclejav...
- kaba0 3y ago“I downloaded Photoshop and now adobe asks for its price”
- freeone3000 3y agoThe JDK is GPLv2, which means it can be legally redistributed without charge. Oracle puts their JDK release under a different license. Microsoft distributes the binaries under the GPL. It’s the same code going into the binary, but different license terms.
- kaba0 3y agoOracle provides their builds for free, given you use their latest LTS release. But that’s apples to oranges comparison - that is an actual support release, meant for big enterprises that wants to point their fingers at someone on Christmas eve.
- n2d4 3y agoOpenJDK (maintained by Oracle) is GPL, but Oracle JDK is a different codebase with different features under a commercial license. Oracle's OpenJDK builds are distributed under the GPL, like Microsoft's.
- kaba0 3y agoYou would be right, if you would have made this comment a bit more than a decade ago. The only remaining differences between OracleJDK and OpenJDK are logo, and trivial things - Oracle has opened up everything else.
- n2d4 3y agoAs far as I'm aware, Oracle JDK gets fixes that OpenJDK doesn't, and is under a commercial license that's not GPL (even if it's free-as-in-beer under certain circumstances)? Is that wrong?
- belltaco 3y agoTerrible take. Photoshop does not create and exploit confusion about how their products are free to use as much as Oracle does with Java. Photoshop also didn't sneakingly change terms from what used to be free without a proper notice while installing. Photoshop sales and marketing also don't do gotchas with crazy audits and threats of lawsuits. You don't need to buy Photoshop for all your employees if only a few use it.
- kaba0 3y ago> Photoshop also didn't sneaking change terms from what used to be free Like making it even more free? You are literally free to use the “paid” OracleJDK on its latest LTS release up until the next LTS comes around+1 year.
- desertlounger 3y agoThe reference is to a previous licensing change, which made it less free, with Oracle shaking down groups using the Oracle JDK. They've changed their terms before and could do so again with future releases.
- belltaco 3y agohttps://stackoverflow.com/questions/58250782/which-free-version-of-java-can-i-use-for-production-environments-and-or-commerci https://stackoverflow.com/questions/58250782/which-free-vers...
- renewiltord 3y agoRight. So that’s the minefield, no? If you download from Oracle, it’s like Photoshop from Adobe. If you download from Amazon, it’s like gcc. But it’s the same software: near invisible difference. So that’s why you shouldn’t download from Oracle.
- kaba0 3y agoAre you a huge enterprise system that has to be able to call someone on some national holiday at 2AM? If no, then just do whatever you want - I don’t understand running to Amazon, when you can just do `apt install openjdk`, but whatever. There is way too much fuss around this non-issue. It’s the exact same software plus-minus a few bytes.
- renewiltord 3y agoUbuntu LTS does not have modern JDK. Amazon has Coretto distribution. Much better.
- volkadav 3y agoOracle's stance on what contexts their JDK/JRE is free to use in is ... nuanced, and has changed in the past. While I don't wish to spread FUD, the thought of using it in a commercial environment in any fashion would give me pause. Playing around with Oracle on licensing is, as hobbies go, somewhere on my list of things to do down around making plutonium cocktails and alligator juggling. The other vendors have different (typically more explicitly open) licensing on their shipped artifacts. As ever, if it really matters, it's time to consult a legal professional in your jurisdiction to be sure instead of taking a random internet nerd's opinion on it. ;)
- pron 3y agoAll those vendors offer Oracle software that's licensed to you by Oracle. Amazon, for example, cannot change the license on the Oracle software they're distributing because it's not their software. The Oracle license is a standard open-source license, but if it makes you feel better to download Oracle software with an Oracle license from some other company's website -- go for it, and you're welcome.
- freeone3000 3y agoFrom the other website, it’s Oracle software under the GPLv2. From Oracle, it’s under the Oracle Binary Code License for Java (https://www.oracle.com/ca-en/downloads/licenses/binary-code-license.html https://www.oracle.com/ca-en/downloads/licenses/binary-code-...). These are NOT the same license. The GPL, for instance, does not allow after-the-fact fees.
- 6581 3y agoOracle OpenJDK: https://jdk.java.net https://jdk.java.net (GPLv2 + Classpath Exception) Oracle JDK: https://www.oracle.com/java/technologies/downloads/ https://www.oracle.com/java/technologies/downloads/ (Oracle No-Fee Terms and Conditions) The license you linked does not apply to current JDK versions at all.
- palata 3y agoHmm I think you are not right. If you go to https://jdk.java.net/21/ https://jdk.java.net/21/, the first sentence says that it is GPLv2 (+ Classpath exception, whatever that is).
- n2d4 3y agoThere are two main branches of JDKs, OpenJDK and Oracle JDK (both maintained by Oracle). Builds for the former are open-source but only updated for 6 months after each release, while the latter is under a commercial license with 3+ years commercial long-term support for some versions. Projects like Eclipse Temurin (Adoptium) bring the LTS to OpenJDK. The underlying code is entirely open-source, so there is no licensing trouble. Hence, if you want to download OpenJDK, it's important to do it from Adoptium, as you won't get updates on java.net after a while.
- kaba0 3y agoJava’s reference implementation is OpenJDK, developed mostly by Oracle, and is completely open-source (GPL-2). One can optionally buy support for it, that’s the whole deal. Not that hard, but apparently this is a minefield for some..
- freeone3000 3y agoThere’s that and there’s https://www.oracle.com/ca-en/downloads/licenses/binary-code-license.html https://www.oracle.com/ca-en/downloads/licenses/binary-code-... , where using the wrong runtime flag makes you owe money.
- samus 3y agoDon't use them commercial features if you don't be want to pay for them. And don't download the Enterprise Oracle JRE from the Oracle website if you don't want to use them commercial features. We all should read terms&conditions more carefully.
- minedwiz 3y agoCorretto seems to have 21 as of just now.
- pron 3y agoJust to be clear, all of these sites offer builds of Oracle software (the OpenJDK JDK), developed by Oracle and licensed by Oracle. When you file an issue that's in the JDK, those companies forward it to us, Oracle engineers, to fix. We offer our own builds under two different licenses on our own websites (https://jdk.java.net https://jdk.java.net or https://www.oracle.com/java/technologies/downloads/ https://www.oracle.com/java/technologies/downloads/) but you can also download our software on the other websites linked above.
- deleted 3y ago[deleted]
- Someone1234 3y agoJava downloaded from Oracle has the following license: > Important Oracle Java License Information > The Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle Java licenses. This license permits certain uses, such as personal use and development use, at no cost -- but other uses authorized under prior Oracle Java licenses may no longer be available. Please review the terms carefully before downloading and using this product. [0] https://www.java.com/en/download/ https://www.java.com/en/download/ Getting JDK from better sources won't risk you accidentally hitting the wrong download link and winding up with an enterprise licensing audit and a legal requirement to Java license for every employee. I'd strongly recommend you don't download anything Java related from Oracle or have any direct relationship with Oracle at all. Java employees working for Oracle and their advice should be treated skeptically. Reporting issues to third parties and letting them contact Oracle's engineers is ideal (least of all because you need a support contract to report it directly to Oracle anyway). Oracle is a bad actor and should be avoided for your own good. The only ones suggesting getting it from Oracle directly are also Oracle employees.
- pron 3y agoOracle offers the JDK under two licenses, one of them is the same license under which all other vendors offer our software: https://jdk.java.net https://jdk.java.net The fact is that if you're using Java these days (or for the past 13 years), you're using Oracle software under a license issued to you by Oracle, regardless of which website you download it from. If you want the support or advice of the people who, you know, actually develop the software then you'll need to talk to Oracle people, and those who want their software to be supported by the people who write it are those who fund the development of OpenJDK. You're welcome, by the way.
- kaba0 3y agoCome on, just stop this FUD already. Oracle is responsible for 95+% of every single commit going to OpenJDK, which has the exact same license and situation as the goddamn linux kernel, GPL2. Do you also sweat a lot about accidentally installing red hat linux? If not, you have zero reason to worry. How is amazon compiling and repackaging the exact same thing somehow different?
- gabereiser 3y agoPeople have been burned too many times by Oracle “true-ups”. And no, it’s not FUD. Their license explicitly states that JEE/SE (not JRE) is covered by their commercial license, not their open source license. This year, in 2023, Oracle introduced the enterprise-wide metric license model. So if you use Java for anything in your organization, they charge you based on your organization size. (All or nothing model).
- n2d4 3y agoThat licensing would be the Oracle JDK. Not OpenJDK like parent was talking about, which is wholly open-source (supporting SE but not EE) and also maintained by Oracle but without LTS. See my other comment about Adoptium vs. OpenJDK vs. Oracle JDK: https://news.ycombinator.com/item?id=37571143 https://news.ycombinator.com/item?id=37571143
- gabereiser 3y agoYes, Oracle JDK, the default one you are directed to at oracle.com. Java.net provides OpenJDK.
- kaba0 3y agoThere is no such thing as a JRE anymore. And even the commercial OracleJDK is free to use (though not libre).
- gabereiser 3y agoSome people would beg to differ. There are some organizations that have Java desktop apps, some that have kiosks and appliances that run JRE-like environments. There are some that are still on Java 8.
- nobleach 3y agoYeah the lack of anyone packaging this up was kinda weird to me. I understand these are done on someone else's dime, and no one owes me a free lunch though. I don't really pay a lot of attention to Java releases but I was actually excited about this one. No one ran a build process last night in anticipation?