Here's a list of OpenJDK distributions still offered as JRE build. One could consider Temurin the most official one, while Zulu is offered for the longest and together with Liberica offers JavaFX included runtimes.

Name Vendor Download
Temurin Adoptium https://adoptium.net/temurin/releases
Zulu Azul https://www.azul.com/downloads/?package=jre#zulu
Liberica Bellsoft https://bell-sw.com/pages/downloads/?package=jre
SapMachine SAP https://sap.github.io/SapMachine/
Semeru IBM https://developer.ibm.com/languages/java/semeru-runtimes/downloads/
Answer from cachius on Stack Exchange

Here's a list of OpenJDK distributions still offered as JRE build. One could consider Temurin the most official one, while Zulu is offered for the longest and together with Liberica offers JavaFX included runtimes.

Name Vendor Download
Temurin Adoptium https://adoptium.net/temurin/releases
Zulu Azul https://www.azul.com/downloads/?package=jre#zulu
Liberica Bellsoft https://bell-sw.com/pages/downloads/?package=jre
SapMachine SAP https://sap.github.io/SapMachine/
Semeru IBM https://developer.ibm.com/languages/java/semeru-runtimes/downloads/
Answer from cachius on Stack Exchange
🌐
Oracle
oracle.com › java › technologies › javase › jdk17-archive-downloads.html
Java Archive Downloads - Java SE 17.0.12 and earlier
Go to the Oracle Java Archive page. This page includes archive downloads for JDK 17 updates 17.0.12 and earlier.
Discussions

Does JRE 17 not exist?
Please ensure that: Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions You include any and all error messages in full You ask clear questions You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions. Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar If any of the above points is not met, your post can and will be removed without further warning. Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://imgur.com/a/fgoFFis ) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc. Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit. Code blocks look like this: public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } } You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above. If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures. To potential helpers Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
🌐 r/javahelp
9
7
January 29, 2022
Looking for JRE 17 installer for Windows
https://adoptium.net/temurin/releases/?os=windows&arch=x64&package=jre&version=17 You can try this one. However as others pointed out JDK covers your JRE need. Not sure what you'll save up except disk space. More on reddit.com
🌐 r/javahelp
7
1
May 31, 2024
macOS - How to install Java 17 - Stack Overflow
Could someone please let me know the steps to install Java on a Mac. I did brew install java I get this Warning: openjdk 17.0.1 is already installed and up-to-date. To reinstall 17.0.1, run: brew More on stackoverflow.com
🌐 stackoverflow.com
Java 17 / JDK 17: General Availability
Among other things, this means that we can begin to use records, pattern matching for instanceof, the shenendoah GC, and more · Links to JEPs for the other releases More on news.ycombinator.com
🌐 news.ycombinator.com
246
349
September 19, 2021
🌐
Oracle
oracle.com › java › technologies › downloads
Download the Latest Java LTS Free
Download the Java including the latest version 17 LTS on the Java SE Platform. These downloads can be used for any purpose, at no cost, under the Java SE binary code license.
🌐
Ops
ops.java › releases › matrix
JDK Release Matrix
(2) More details on End of Support Life (EOSL) dates can be found in the Oracle Java SE Support Roadmap
Find elsewhere
🌐
Oracle
java.com › en
Java | Oracle
Oracle Java is the #1 programming language and development platform. It reduces costs, shortens development timeframes, drives innovation, and improves application services. Java continues to be the development platform of choice for enterprises and developers · For End Users on a Desktop ...
🌐
Azul
azul.com › home › blog › oracle has ended java 17 free use, now what?
Oracle Has Ended Java 17 Free Use, Now What? - Azul | Better Java Performance, Superior Java Support
April 30, 2025 - Which means that as of today, Oracle Java 17 has transitioned from the permissive Oracle No-Fee Terms and Conditions (NFTC) license that allows free commercial and production, including access to all quarterly security updates to the Java SE Oracle Technology Network License Agreement (OTNLA).
🌐
Azul Systems
azul.com › home › azul downloads
Java 8, 11, 17, 21, 25 Download for Linux, Windows and macOS
February 25, 2026 - Click here to download the Azul Zulu Builds of OpenJDK for Java 8, 11, 17, 21, 25 for Linux, Windows and macOS. Also download Azul Platform Prime.
🌐
SDKMAN!
sdkman.io
Home | SDKMAN! the Software Development Kit Manager
Install Software Development Kits for the JVM such as Java, Scala, Kotlin and Groovy.
🌐
Oracle
java.com › en › download › manual.jsp
Download Java
» What is Java » Remove older versions » Security » Support » Other help · This download is for end users who need Java for running applications on desktops or laptops. Java 8 integrates with your operating system to run separately installed Java applications.
🌐
Visual Studio Code
code.visualstudio.com › docs › languages › java
Java in Visual Studio Code
November 3, 2021 - This article will give you an overview of different capabilities of Visual Studio Code for Java developers.
🌐
Oracle
oracle.com › java › technologies › javase › 17-0-6-relnotes.html
Java™ SE Development Kit 17, 17.0.6 Release Notes
The combination of the OL-specific jdk-17-headless and jdk-17-headful packages provides the same JDK image and the same capabilities as jdk-17 OTN package. OL-specific JDK RPM packages specify required capabilities, and the "Release" property of these packages has a %{dist} suffix. install/install ➜ Disable Side-by-Side Installations of Multiple JDK Updates in Windows JDK Installers (JDK-8292820) Windows JDK installers must install the Oracle JDK in %Program Files%\Java\jdk-�ATURE% instead of %Program Files%\Java\jdk-%VNUM%. I.e.
🌐
Docker Hub
hub.docker.com › _ › openjdk
openjdk - Official Image | Docker Hub
3 weeks ago - Pre-release / non-production builds of OpenJDK · This image is officially deprecated and all users are recommended to find and use suitable replacements ASAP. Some examples of other Official Image alternatives (listed in alphabetical order with no intentional or implied preference):
🌐
Oracle
oracle.com › java › technologies › java se
Oracle Java SE Support Roadmap
3 weeks ago - Instead of relying on a ... Java applications as stand-alone applications that include their own custom runtimes. Java SE 17 was released in September of 2021 and public updates through September of 2024 were under a permissive license....
Top answer
1 of 13
406

In 2024, even if you can use just brew..

brew install openjdk@17 

Java will be installed here:

/opt/homebrew/opt/openjdk@17/bin/java

for Apple Intel path is /usr/local/... rather than /opt/homebrew/...

For the system Java wrappers to find this JDK, symlink it with:

sudo ln -sfn /opt/homebrew/opt/openjdk\@17/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk

resp. for Intel

sudo ln -sfn /usr/local/opt/openjdk@17/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk

Now, running /usr/libexec/java_home -V should show the path to JAVA 17, something like:

17.0.9 (x86_64) "Homebrew" - "OpenJDK 17.0.9" /opt/homebrew/Cellar/openjdk@17/17.0.9/libexec/openjdk.jdk/Contents/Home

(This is what you are missing btw, if javac or javac --version does not give you a command-not-found but an The operation couldn’t be completed. Unable to locate a Java Runtime.)

In case you see the wrong version, check if the path to JAVA_HOME is set correctly. If not, you could set it by:

export JAVA_HOME=\$(/usr/libexec/java_home)

...give a try to sdkman, it's far better than brew

curl -s "https://get.sdkman.io" | bash

then open a new shell and try list to see what you could install ;-)

sdk list java 

At time of writing you could use:

sdk install java 17.0.4.1-tem

Java will be installed here:

/Users/YOUR_USERNAME_HERE/.sdkman/candidates/java/17.0.4.1-tem
2 of 13
56

Java doesn't mind if you install multiple versions. This is often required; java is not backwards compatible (it tries to change little, but e.g. the java8 to java9 transition broke a ton of stuff, much of it needless and much of it not reasonably expectable or fixable by libraries and apps, so a bunch of java apps and libraries only run on java8 - just an example).

So, yes, you have installed JDK17. Also, yes, if you just run java without specifying which one you want, you so happen to get java13 here.

To see all installed javas, you can run:

/usr/libexec/java_home -V

to 'override', you can use something like (depends on which shell you're using on your mac):

export JAVA_HOME=`/usr/libexec/java_home -v 17`

(the backticks mean: Run this then take the output of it and treat that as the 'value' of the expression. here, assign it to the JAVA_HOME env var. -v 17 requests a path to java 17. The -V option lists all and is meant for your eyeballs, not for scripts. The -v option is mostly for scripting, and that's how we're using it here).

JAVA_HOME decides which java is used by some things, but the java you get when you just type java is /usr/bin/java, and that executable is actually just a wrapper that picks a java to run from amongst all installed versions. It uses JAVA_HOME to decide which java to actually run. There are wrappers for all the common commands (javac, too). You can always run e.g. which javac to see what that actually runs; you probably see /usr/bin/javac. Everything in /usr/bin is one of these wrapper thingies that looks at JAVA_HOME and then runs the binary it finds there.

🌐
Hacker News
news.ycombinator.com › item
Java 17 / JDK 17: General Availability | Hacker News
September 19, 2021 - Among other things, this means that we can begin to use records, pattern matching for instanceof, the shenendoah GC, and more · Links to JEPs for the other releases
🌐
Oracle
oracle.com › java › technologies › javase › 17-0-4-relnotes.html
Java™ SE Development Kit 17, 17.0.4 Release Notes
The following sections summarize changes made in all Java SE 17.0.4 BPR releases. The BPR releases are listed below in date order, most current BPR first. Note that bug fixes in previous BPRs are also included in the current BPR. ... The full version string for this update release is 17.0.4+11 (where "+" means "build"). The version number is 17.0.4. For more information, refer to Timezone Data Versions in the JRE Software.
🌐
Red Hat
developers.redhat.com › products › openjdk › download
Download the Red Hat Build of OpenJDK | Red Hat Developer
July 25, 2024 - OpenJDK 17 Source Code SHA-256 checksum: 01b5de80aaa161209deb690db535a6eaf65c5dbce874cc1a50cf59ea705e1aef ... OpenJDK 21 Windows 64-bit SHA-256 checksum: 2cde2a1ea9c9ec0fd83c7c174fe2e44a2c0e2dd19b7c47b590262bf2abffe6d1 ... OpenJDK 21 Windows 64-bit SHA-256 checksum: 849aeca3f0ba83ca04fee7831445dfe421ca5517671680f4580ef51250d6dd67 ... JRE 21 Windows 64-bit SHA-256 checksum: e9474558dfcb47101c90b3dff0c048e60cc41b2394f9c7952d29075bfc6da8d7