It should be as simple as downloading the version you need from here https://www.java.com/en/download/ (You'll probably want the 64-bit executable) and then running that .exe. On the off chance that doesn't work, you can specifically download the Java 17 SDK from the archive here, but that shouldn't be required. All you should need to run Minecraft is the Java Runtime Environment. https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html Answer from MGlBlaze on reddit.com
🌐
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.
Java
Java software reduces costs, drives innovation, and improves application services. Learn more about Java, the #1 development platform.
Technologies
Java can help reduce costs, drive innovation, & improve application services; the #1 programming language for IoT, enterprise architecture, and cloud computing.
Java Downloads
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.
JavaSE
Oracle strongly recommends that all Java SE 17 users upgrade to this release. ... Java SE 11.0.31 is the latest release of Java SE 11 Platform. Oracle strongly recommends that all Java SE 11 users upgrade to this release. ... Java SE 8u491 is the latest release of Java SE 8 Platform. Oracle strongly recommends that all Java SE 8 users upgrade to this release. JDK for ARM releases are available on the same page as the downloads ...
🌐
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.
People also ask

Do I need Java JRE or Java JDK?
Unless you are a software developer, you only need to install Java JRE in your system to run Java programs. On the other hand, if you are planning to do some Java programming, you need to install the JDK instead. Sometimes, even if you are not planning to do any Java programming, you still need the JDK installed. For example, if you are deploying a web application with JSP, you are technically just running Java programs inside the application server. Why would you need the JDK then? Because the application server will convert JSP into Java servlets and needs to use the JDK to compile the servl
🌐
techspot.com
techspot.com › downloads › 7440-java-se-17.html
Java SE JDK 17.0.19 Download Free | TechSpot
What is Java?
Java is a programming language and software platform. Examples of applications that use Java are numerous and widespread but include web browsers, office applications and even mainstream games like Minecraft are based on Java.
🌐
techspot.com
techspot.com › downloads › 7440-java-se-17.html
Java SE JDK 17.0.19 Download Free | TechSpot
What is Java JDK?
The Java Development Kit (JDK) is the full-featured software development kit for Java developers. It has everything the JRE has, but adds the compiler (javac) and tools (like javadoc and jdb). The JDK allows you to create and compile Java programs.
🌐
techspot.com
techspot.com › downloads › 7440-java-se-17.html
Java SE JDK 17.0.19 Download Free | TechSpot
🌐
Oracle
jdk.java.net › 17
JDK 17 Releases - Java.NET
JDK 17 has been superseded. Please visit jdk.java.net for the current version.
🌐
Oracle
oracle.com › java › technologies › javase › jdk17-0-13-later-archive-downloads.html
Java SE 17 Archive Downloads (JDK 17.0.13 and later)
Only developers and enterprise administrators should download these releases. For current Java releases, please visit Oracle Java SE Downloads.
🌐
Adoptium
adoptium.net › temurin › releases
Download Temurin® JDK
Pick a version, package type, JDK/JRE, and download the binaries. All VersionsJDK 25 - LTSJDK 21 - LTSJDK 17 - LTSJDK 11 - LTSJDK 8 - LTS
Find elsewhere
🌐
TechSpot
techspot.com › downloads › 7440-java-se-17.html
Java SE JDK 17.0.19 Download Free | TechSpot
April 22, 2026 - Download Java SE 17 - Java allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D, just to name a few. This is the latest Java version.
Rating: 3.8 ​ - ​ 20 votes
🌐
Azul Systems
azul.com › home › azul downloads
Java 8, 11, 17, 21, 25 Download for Linux, Windows and macOS
January 30, 2023 - 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.
🌐
Oracle
java.com › en
Java | Oracle
Download Java for Desktops · What is Java · Help for end users · Free Java Development Kit (JDK) downloads and resources from Oracle, the stewards of Java · Developer Downloads · Developer Resources · Enterprise Resources ·
🌐
Bell Software
bell-sw.com › pages › downloads
Download JDK 8, 11, 17, 21, 25, 26 | Java Builds for Linux, Windows and macOS
Get Liberica JDK – a free, supported, and 100% open-source distribution of OpenJDK, verified by TCK for Java SE. Liberica JDK binaries are free for all users, including commercial and production usage. Need support for Liberica JDK? Get the best customer support plans. See pricing. Save 30% of RAM for Spring Boot · with Alpaquita Containers · Pick a version, package type, JDK/JRE, and download the binaries. All versions · JDK 8 LTS · JDK 11 LTS · JDK 17 LTS ·
🌐
Reddit
reddit.com › r/prismlauncher › how do you download and use java 17?
r/PrismLauncher on Reddit: HOW DO YOU DOWNLOAD AND USE JAVA 17?
June 22, 2023 -

I have been tryign to find out how to download and use java 17 for prism but its seems to be IMPOSSIBLE since ive been looking at guides for an hour now and they all seem to be downloading java 17 But when i try to download it with those guides the java 17 des not end up where my java 8s witch prism detects is. C:/Program Files (x86)/Common Files/Oracle/Java/javapath And i have no idea how do put java 17 i download into javapath since it does nto do it automatically.

🌐
Stony Brook University
www3.cs.stonybrook.edu › ~amione › CSE114_Course › materials › resources › InstallingJava17.pdf pdf
Installing Java 17 Downloading
To install the latest version of Java, go to the download site at Oracle.com. Scroll down to Java SE Development Kit 17.0.2 downloads.
🌐
YouTube
youtube.com › watch
#1 How to Download and Install Java 17 JDK JRE JSHELL on Windows 10 - YouTube
How to Download and Install Java 17 JDK JRE JSHELL on Windows 10https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.htmlAffiliate Disclai...
Published   October 8, 2025
🌐
Se-education
se-education.org › guides › tutorials › javaInstallationWindows.html
Java 17 Installation Guide for Windows Users
Alternatively, you may also download the JDK 17 x64 installer from another provider that does not require you to sign up. Examples: ... Run the downloaded installer and follow the instructions to complete the installation. ... Suppose the JDK was installed in the directory C:\Program Files\Java\jdk-17 (this is the default location for Oracle, please check the installation directory within the installer for other distributors).
🌐
OpenJDK
openjdk.org › projects › jdk › 17
JDK 17
JDK 17 is the open-source reference implementation of version 17 of the Java SE Platform, as specified by by JSR 390 in the Java Community Process.
🌐
Red Hat
developers.redhat.com › products › openjdk › download
Download the Red Hat Build of OpenJDK | Red Hat Developer
July 25, 2024 - Download the Red Hat Build of OpenJDK at no-cost. The Red Hat build of OpenJDK is an open source implementation of the Java Platform, Standard Edition (Java SE)
🌐
OpenLogic
openlogic.com › openjdk-downloads
OpenJDK Downloads | OpenLogic
OpenLogic now provides free, quarterly builds of OpenJDK 8, OpenJDK 11, OpenJDK 17, and OpenJDK 21 for Linux, Windows, and MacOS. ... Note: Open source OpenJDK is provided free of charge and "as is", without warranty of any kind, express or implied. In no event shall Perforce Software, Inc. or its affiliates be liable for any claim, damages, or other liability arising from out of or in connection with open source OpenJDK software downloaded from this site.
Top answer
1 of 13
407

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

Copybrew install openjdk@17 

Java will be installed here:

Copy/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:

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

resp. for Intel

Copysudo 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:

Copy17.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:

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

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

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

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

Copysdk list java 

At time of writing you could use:

Copysdk install java 17.0.4.1-tem

Java will be installed here:

Copy/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:

Copy/usr/libexec/java_home -V

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

Copyexport 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.

🌐
javaspring
javaspring.net › blog › java-17-jre-download
Java 17 JRE Download: A Comprehensive Guide — javaspring.net
Run the installer and follow the on-screen instructions to complete the installation. Visit the Adoptium website at https://adoptium.net/. Select Java 17 from the version dropdown.