If you download the installer that usually comes in a msi installer it should then Autodetect it. Answer from Mario_Man632 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.
🌐
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.

Discussions

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
[deleted by user]
Go here Then choose java(JRE) for consumers Then after installing java open mmc settings and click java There should be a auto detect press that and select java 17 More on reddit.com
🌐 r/MultiMC
7
8
March 11, 2023
Install Java-jdk-17
You can also add a desktop file to be able to simply run .jar file by double clicking on them. You can see how in a post I made a while ago: https://www.reddit.com/r/SteamDeck/comments/wl7q6t/comment/ijt74b8/?utm_source=share&utm_medium=web2x&context=3 Also you probably should just download the JRE instead of the JDK to save space. The JDK is only needed for developers. More on reddit.com
🌐 r/SteamDeck
2
4
April 4, 2023
How to I install the latest version of JDK?
In image 3 you have multiple paths still pointing to JDK 11... windows is picking the first java.exe it comes across (which is in the JDK11 folders) You need to remove the Eclipse Adoptium and Microsoft\jdk-11.0.12.7-hotspot environment variables Ensure the same thing hasn't happened in the user specific PATH variable - you only showed us the system PATH variable ALSO (important) remove the Common Files\Oracle\Java\javapath environment variable. Oracle does some crappy workaround to try and point you to the "latest" of their JDKs by installing shortcuts in that folder - get rid of it, you don't need those as it only adds to the confusion and causes issues similar to the above. Restart after this and try again - if it's still not working then post updated screenshots Basically you should ONLY be pointing to 1 folder with java.exe if you want "java -version" to run that specific version on the command line You can also technically run: C:\Program Files\Java\jdk-20\bin\java.exe -version and this will output the desired version number. But if you want to be able to run just "java -version" then you have to do the above steps. As others have noted Java isn't really "installed" - it's just about telling programs where the exe is. Most IDEs like IntelliJ will let you specify the path without relying on the environment variables or they may also come with a built-in Java version, it really depends on how you want things to be configured. More on reddit.com
🌐 r/javahelp
29
3
June 24, 2023
🌐
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.
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.

🌐
Medium
ansarali-edugaon.medium.com › set-up-jdk17-in-windows-11-f6c9ace6f427
Set up jdk17 in Windows 11.. Hi everyone…. | by Ansar Ali | Medium
July 12, 2024 - ... Note: The JDK version should be 17. Step 2. Install the jdk application. Once the application is downloaded, double-click on the file, follow the instructions, and install the application.
Find elsewhere
🌐
Oracle
jdk.java.net › 17
JDK 17 Releases
JDK 17 has been superseded. Please visit jdk.java.net for the current version. Older releases, which do not include the most up to date security vulnerability fixes and are no longer recommended for use in production, remain available in the OpenJDK Archive.
🌐
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.
🌐
Se-education
se-education.org › guides › tutorials › javaInstallationWindows.html
Java 17 Installation Guide for Windows Users
Oracle Java 17 on Windows. ... Go to the Oracle download site here. ... Choose JDK 17 → Windows. ... Go ahead and sign in if you are prompted by Oracle, or register an account if you haven't done so. Alternatively, you may also download the JDK 17 x64 installer from another provider that ...
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › software & applications
How to install JDK17? - Linux Mint Forums
September 5, 2022 - On Linux (Ubuntu 20.04 in particular), ...nsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-17-openjdk-amd64/lib/libawt_xawt.so If so, use sudo apt install openjdk-17-jdk to install a full version....
🌐
Microsoft Learn
learn.microsoft.com › en-us › java › openjdk › install
Install the Microsoft Build of OpenJDK | Microsoft Learn
brew install --cask microsoft-openjdk@11 # OR brew install --cask microsoft-openjdk@17 # OR brew install --cask microsoft-openjdk@21 # OR brew install --cask microsoft-openjdk@25 · To uninstall the Microsoft Build of OpenJDK installed through ...
🌐
Se-education
se-education.org › guides › tutorials › javaInstallationLinux.html
Java 17 Installation Guide for Linux Users
First we need to ensure our apt repositories are updated. Enter the following command in your terminal: ... Enter your password if prompted. ... Note that the default installation location is usually /usr/lib/jvm/. ... If you have multiple versions of Java installed, you can switch between them using update-alternatives.
🌐
Oracle
docs.oracle.com › en › java › javase › 17 › install › installation-jdk-macos.html
5 Installation of the JDK on macOS - Java
April 21, 2026 - For example, JDK 17.0.1 is installed in /Library/Java/JavaVirtualMachines/jdk-17.jdk.
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-java-on-centos-and-fedora
How To Install Java on CentOS, Rocky Linux, RHEL, and Fedora | DigitalOcean
March 18, 2022 - At the confirmation prompt, enter y then press Enter to continue with the installation. You may delete the archive file that you downloaded earlier: ... outputThere are 3 programs which provide 'java'. Selection Command ----------------------------------------------- 1 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.322.b06-2.el8_5.x86_64/jre/bin/java) + 2 java-17-openjdk.x86_64 (/usr/lib/jvm/java-17-openjdk-17.0.2.0.8-4.el8_5.x86_64/bin/java) * 3 /usr/java/jdk-17.0.2/bin/java Enter to keep the current selection[+], or type selection number:
🌐
Madhusudan
madhusudan.live › blog › install-java-17-in-linux-fedora-debian
Install Java 17 On Linux in 2 Ways: Step-By-Step Guide
May 5, 2024 - Install Java 17 on any Linux distribution in 2 ways using package manager as well as a tarball with this step by step installation guide, update your JAVA_HOME and PATH environment variables. ... Hello guys, today in this tutorial, we will cover how to install the Java 17 JDK on your machine ...
🌐
Oracle
blogs.oracle.com › java › changes-in-the-oracle-jdk-installers
Changes in the Oracle JDK Installers (JDK 17, 11, and 8) | java
January 13, 2023 - Install the new versions. Change launch scripts so they would use C:\Program Files\Java\jdk-17.0.5 instead of C:\Program Files\Java\jdk-17.0.4 ... In Jan 2023, when those users update to 17.0.6 the steps will be almost identical, except that the installation directory that will now be specified will be `C:\Program Files\Java\jdk-17
🌐
Red Hat
developers.redhat.com › products › openjdk › download
Download the Red Hat Build of OpenJDK | Red Hat Developer
July 25, 2024 - Red Hat build of OpenJDK is available for RHEL, Windows, and other Linux environments too as a Java Runtime Environment(JRE) and a complete Java Development Kit (JDK). Red Hat build of OpenJDK is not available for Mac. However, there’s Temurin, a version of OpenJDK that Red Hat actively contributes to that’s available for Mac. ... Instructions on how to install OpenJDK on Red Hat Enterprise Linux.
🌐
Tutorials24x7
tutorials24x7.com › java › how-to-install-java-17-on-windows
How To Install Java 17 On Windows | Tutorials24x7
September 25, 2021 - Notes: New version of this tutorial is available at How To Install Java 18 On Windows. Open the browser and search for Download JDK 17 or click the link to download from the Oracle website.