Live data from Hacker News

AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

adoptopenjdk.net

31–40 of 91 posts

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#31
post #26
post #17

Oracle's OpenJDK binaries are here: http://jdk.java.net/

At least the MacOS binaries from Oracle are not packaged in a user-friendly manner. You just get a zip file containing JAVA_HOME, and it's up to the user to know what to do with this. Apple requires you to copy this to a very specific, deeply nested, hidden system directory. That's definitely not something I could ask an end user to deal with. After the bait and switch with the licensing for the original Java distrib…

What requirement does Apple put on the JDK location? All of mine are in ~/lib/* and are easy to manage. JENV for bonus points. Definitely not a double-click-install experience, but not hard to figure out for anyone with a bit of terminal experience.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#32
post #25

Earlier quoted context omitted.

Well, maybe not directly, but the code you diligently backport does come mostly from Oracle. ;)

Granted, Oracle does contribute lots of code. As the result, lots of Oracle-created code gets backported too. That said, I see people backport a lot of code/tests that they wrote themselves, and/or with the help of non-Oracle contributors. For example, Red Hat, SAP, Huawei backport a lot of code to maintain the target platforms they own (e.g. AArch64 and PPC), or their components (e.g. diagnostics support, Shenandoah…

I am not undervaluing anyone's contribution. Many companies contribute a lot of valuable work, and we at Oracle are thrilled to cooperate with them and actively encourage them to contribute more, but Oracle does currently contribute ~90% of the work on OpenJDK. So many companies and independent developers deserve full credit, but Oracle is in a separate category, contributing as much as all others combined, several times over. This explains why Oracle has opted to offer only paid support for those opting to stay on old JDK versions: this is how Oracle funds lion's share of OpenJDK's development.

BTW, the recommended path is free perpetual support by using the current JDK version that, under the new gradual release model, means you'll never have to do another major upgrade again. Staying on old JDK versions will be more expensive, even if you're using a free distribution.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#33
post #26

Earlier quoted context omitted.

At least the MacOS binaries from Oracle are not packaged in a user-friendly manner. You just get a zip file containing JAVA_HOME, and it's up to the user to know what to do with this. Apple requires you to copy this to a very specific, deeply nested, hidden system directory. That's definitely not something I could ask an end user to deal with. After the bait and switch with the licensing for the original Java distrib…

What requirement does Apple put on the JDK location? All of mine are in ~/lib/* and are easy to manage. JENV for bonus points. Definitely not a double-click-install experience, but not hard to figure out for anyone with a bit of terminal experience.

If you want it to be recognized by the system as a valid runtime for Java apps, I believe it needs to be in /Library/Java/JavaVirtualMachines/jdk${VERSION}.jdk/Contents/Home/.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#34
One of the company with large contribution to the AdoptOpenJDK is jClarity. jClarity got purchased by Microsoft a few days ago. Are we seeing MS more involvement for JDK development from now on? They are pushing it big for .NET platform but the JVM consumption is a huge market opportunity. With MS strategy of going all in in cloud computing, supporting the JVM is a no-brainer to me.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#35
post #15
post #2

Please add an option with JavaFX bundled.

JavaFX included in builds from here (branded "Zulu FX"): https://www.azul.com/downloads/zulu-community/ (select JRE FX or JDK FX from the dropdown I guess - they've changed the download page recently)

May be it's just me, but on Mac the process is rather convoluted, and is certainly not optimized for end user.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#36
post #26
post #17

Oracle's OpenJDK binaries are here: http://jdk.java.net/

At least the MacOS binaries from Oracle are not packaged in a user-friendly manner. You just get a zip file containing JAVA_HOME, and it's up to the user to know what to do with this. Apple requires you to copy this to a very specific, deeply nested, hidden system directory. That's definitely not something I could ask an end user to deal with. After the bait and switch with the licensing for the original Java distrib…

The JDK requires no installation, and the concept of a "desktop system JRE" is no longer recommended; in fact, a JRE is no longer shipped. The recommended practice is for developers to bundle a custom, minimized version of the runtime with their application (using jlink). End users shouldn't install any Java runtime anymore.

> After the bait and switch with the licensing for the original Java distribution

The product known as OracleJDK used to be part free, part commercial, based on which features you used. JRE downloads also used to contain that annoying search toolbar. What we at Oracle have done is completely open-source the JDK, for the first time in its history, and release it under two licenses: a free license, and a license for those who wish to buy support. There is a large clear warning on each download page guiding people to the distribution they need. I think most people agree that this is a very welcome change, and I see no bait and switch.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#37
post #32

Earlier quoted context omitted.

Granted, Oracle does contribute lots of code. As the result, lots of Oracle-created code gets backported too. That said, I see people backport a lot of code/tests that they wrote themselves, and/or with the help of non-Oracle contributors. For example, Red Hat, SAP, Huawei backport a lot of code to maintain the target platforms they own (e.g. AArch64 and PPC), or their components (e.g. diagnostics support, Shenandoah…

I am not undervaluing anyone's contribution. Many companies contribute a lot of valuable work, and we at Oracle are thrilled to cooperate with them and actively encourage them to contribute more, but Oracle does currently contribute ~90% of the work on OpenJDK. So many companies and independent developers deserve full credit, but Oracle is in a separate category, contributing as much as all others combined, several t…

Oracle is in a separate category, no question there.

It was my mistake to mention other vendors in the thread that is about AdoptOpenJDK. I just wanted to show where the AdoptOpenJDK sits in the larger OpenJDK ecosystem: they are important builders and distributors.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#38
post #26
post #17

Oracle's OpenJDK binaries are here: http://jdk.java.net/

At least the MacOS binaries from Oracle are not packaged in a user-friendly manner. You just get a zip file containing JAVA_HOME, and it's up to the user to know what to do with this. Apple requires you to copy this to a very specific, deeply nested, hidden system directory. That's definitely not something I could ask an end user to deal with. After the bait and switch with the licensing for the original Java distrib…

> it's up to the user to know what to do with this

Why are you asking your end-users to manually install your development dependencies, though? It's called the J D K for a reason. Ship a linked version of your application.

> Apple requires you to copy this to a very specific, deeply nested, hidden system directory.

This just isn't true - you can run Java from anywhere. It's just a tarball containing the binaries. Un-tar and run the binaries like you would any other program. I never 'install' Java on macOS.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#39
post #11

Does the Amazon JDK binary distribution compete with this?

Technically? Yes, Correto is it's own separate distribution that Amazon manages porting upstream changes into. Same as how Azul's Zulu is a "competitor" as well.

Practically speaking, it shouldn't matter as they all pass the Java TCK.

Post reply on HN