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.30 is the latest release of Java SE 11 Platform. Oracle strongly recommends that all Java SE 11 users upgrade to this release. ... Java SE 8u481 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 ...
🌐
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
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.18 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.18 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.18 Download Free | TechSpot
🌐
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.
🌐
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 › 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.
🌐
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.
Find elsewhere
🌐
Bell Software
bell-sw.com › pages › downloads
Java Download | Java 8, Java 11, Java 17, Java 21, Java 25, Java 26 - OpenJDK Builds for Linux, Windows & macOS
Pick a version, package type, JDK/JRE, and download the binaries. ... Get email notifications whenever BellSoft launches a new release. ... The JDK is used to develop and run Java applications. It includes all the tools needed to make your app work.
🌐
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.
🌐
TechSpot
techspot.com › downloads › 7440-java-se-17.html
Java SE JDK 17.0.18 Download Free | TechSpot
January 20, 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.9 ​ - ​ 19 votes
🌐
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.
🌐
CodeJava
codejava.net › java-se › download-and-install-oracle-jdk-17
Download and Install Oracle JDK 17
October 8, 2021 - Oracle JDK 17 is a distribution of JDK 17 under Oracle’s license. Head over to the official download page of Oracle JDK 17, choose Windows tab, and click on the download link for x64 installer, as shown below:You should get the file jdk-17_windows-x64_bin.exe downloaded.
🌐
OpenJDK
openjdk.org
OpenJDK
Learn about the key active Projects in the Community including Amber (high-productivity language features), Loom (lightweight concurrency), Panama (foreign functions and foreign data), Valhalla (primitive types and specialized generics), and, of course, the next version of Java and the JDK ...
🌐
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.

🌐
Oracle
jdk.java.net › archive
Archived OpenJDK GA Releases - Java.NET
This page is an archive of previously released builds of the JDK licensed under the GNU General Public License, version 2, with Classpath Exception · WARNING: These older versions of the JDK are provided to help developers debug issues in older systems. They are not updated with the latest ...
🌐
AWS
docs.aws.amazon.com › corretto › corretto 17 user guide › downloads for amazon corretto 17
Downloads for Amazon Corretto 17 - Amazon Corretto 17
Permanent URLs always point to the most recent release of a package. For example, to retrieve the latest Linux Corretto 17 .tgz package by using a Permanent URL, run the following command from the CLI: wget https://corretto.aws/downloads/latest/amazon-corretto-17-x64-linux-jdk.tar.gz
🌐
Microsoft Learn
learn.microsoft.com › en-us › java › openjdk › download
Download the Microsoft Build of OpenJDK | Microsoft Learn
January 28, 2026 - This article provides links to download the Microsoft Build of OpenJDK. For instructions on how to install, see the Install page. Supported installation methods include: Graphical installation using platform-specific installers. Package manager installation using platform-specific package managers. The following tables provide links to the package files for LTS (Long Term Support) releases, and their .sha256sum.txt and .sig files. If you still require Java 8, you can download any of the Eclipse Temurin builds of OpenJDK 8 from the Eclipse Adoptium project.
🌐
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
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.