Live data from Hacker News

AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

adoptopenjdk.net

11–20 of 91 posts

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#13
post #4

Anyone ever tried the Eclipse OpenJ9 VM? I've never heard of it, but it might be fun to see if there's a difference with my various apps and performance in an IDE. I've just been hearing a lot of fuss about GraalVM, though haven't had time to investigate what's so special about it nor how it might help typical 'enterprise' services and Java apps.

I used it as a replacement for openjdk 8, and I was very happy with the results. Keep in mind there are a few attributes that differ, but the documentation was very clear on that.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#14
post #3

On macOS and Windows their various builds are also available over the Homebrew and Scoop package managers: https://github.com/AdoptOpenJDK/homebrew-openjdk https://github.com/lukesampson/scoop/wiki/Java

And SDK Man, which is fantastic:

https://sdkman.io/

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#16

RedHat also provides OpenJDK builds for free, although hidden behind a developer account registration. https://developers.redhat.com/products/openjdk/download

Red Hat also provides binaries built from the unmodified OpenJDK source here: https://adoptopenjdk.net/upstream.html -- which could be downloaded without developer account.

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#18
post #9

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

I think they do, but Oracle recently announced they won't be backporting security patches to older versions of the open source OpenJDK distributions. As I understand it AdoptOpenJDK is a third party effort to continue supporting the free verisions of older versions of java after Oracle abandons them.

[deleted]

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#19
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="${PATH}:${JAVA_HOME}/bin"

Re: AdoptOpenJDK: Open-source, prebuilt OpenJDK binaries

#20
post #4

Anyone ever tried the Eclipse OpenJ9 VM? I've never heard of it, but it might be fun to see if there's a difference with my various apps and performance in an IDE. I've just been hearing a lot of fuss about GraalVM, though haven't had time to investigate what's so special about it nor how it might help typical 'enterprise' services and Java apps.

Just note that, while the download page is confusing about this point, the OpenJ9 distribution is not OpenJDK; it's a completely separate project, albeit one that copies much of the OpenJDK code. OpenJDK release notes are largely irrelevant to the OpenJ9 build.
Post reply on HN