Live data from Hacker News

AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

adoptopenjdk.net

51–60 of 91 posts

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#51
post #49

Earlier quoted context omitted.

> 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-…

> Why are you asking your end-users to manually install your development dependencies, though? If you want to run a legacy desktop Java application (without bundled JRE - and yes, there's still plenty of these apps out there), MacOS will actually do the prompting for you. And it takes you to the commercial JRE download page, which isn't something I'm willing to install. So the only reasonable option I could find as a…

I'd argue that you're doing this all at too low-level - users shouldn't have to see JAR files - they don't know what those are.

You should encapsulate the JAR and the JRE in a package.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#53

Does the OpenJDK project not offer open source, pre-built binaries already?

Oracle does not provide Java 8, so they are unreliable vendor. It's better to use more reliable sources which do not drop the version that the whole world still uses and will use for many years.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#54
post #36
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…

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…

Without installation on Windows `Preferences.systemRoot();` writes bunch of log errors in stderr. It tries to create HLKM\Software\JavaSoft\Prefs. Installer creates that registry node, so it works just fine after that. I don't know if it's a bug or intended behaviour.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#56

You don't need extra projects to manage this stuff anymore. There is a great answer here... https://stackoverflow.com/questions/52524112/how-do-i-instal... brew install java (12) brew install java11 And you can simplify things... In your .bashrc: export JDK_HOME=`/usr/libexec/java_home -v 12` # v9+ change to the version you installed export JAVA_PATH=$JDK_HOME export JAVA_HOME=$JDK_HOME export PATH="." export PATH="$…

I'm a big fan of SDKMan for handling my Java/Kotlin/Gradle releases. It works across all the major platforms. Homebrew is great on macOS, but kinda non-existent on other platforms.

Huge fan of SDKMan. Just wish it was friendlier with Windows.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#58
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.

1. AdoptOpenJDK does not run the TCK.

2. Corretto and Zulu each have their own patch set. Corretto backports a couple of G1 fixes and Zulu backports Flight Recorder and TLS 1.3.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#59

Does the OpenJDK project not offer open source, pre-built binaries already?

Yes, they do here

https://adoptopenjdk.net/upstream.html

Note that these are different binaries, build by RedHat not by AdoptOpenJDK. They are distributed there because the Java 8 and Java 11 OpenJDK projects are not allowed to post builds on https://jdk.java.net.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#60

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.

Honest question, do any of the current jClarity employees actually do upstream OpenJDK development? I know they build tools around Java but I'm not aware that any of the current employees take part in upstream OpenJDK development eg. at least have a JBS account. Maybe I'm just misinformed.
Post reply on HN