set of several computer software products and specifications
Dukesource125.gif
Java is a set of computer software and specifications that provides a software platform for developing application software and deploying it in a cross-platform computing environment. Java is used in a wide … Wikipedia
Factsheet
Java (software platform)
Factsheet
Java (software platform)
🌐
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.
🌐
Oracle
docs.oracle.com › en › java › javase › 21 › install › overview-jdk-installation.html
1 Overview of JDK Installation
July 15, 2025 - You can download the JDK from Java SE Development Kit Downloads page. For supported processors and browsers, see Oracle JDK Certified System Configurations.
Discussions

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
How do I install Java?
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://i.imgur.com/EJ7tqek.png ) 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
27
2
April 14, 2024
🌐
GeeksforGeeks
geeksforgeeks.org › java › download-and-install-jdk-on-windows-mac-and-linux
Download and Install JDK on Windows, Mac and Linux - GeeksforGeeks
April 4, 2026 - C:\Program Files\Java\jdk-{YOUR_JDK_VERSION}. Click on OK => OK => OK. ... Follow the steps below to install the Java software Development Kit on a Linux environment.
🌐
Oracle
java.com › en
Java | Oracle
Free Java Development Kit (JDK) downloads and resources from Oracle, the stewards of Java · Developer Downloads · Developer Resources · Enterprise Resources ·
🌐
Oracle
java.com › en › download › help › windows_manual_download.html
How do I manually download and install Java for my Windows computer?
Use these simple instructions to manually download and install Java (also known as Java Runtime Environment or JRE) for your Windows computer
🌐
Microsoft Learn
learn.microsoft.com › en-us › java › openjdk › install
Install the Microsoft Build of OpenJDK | Microsoft Learn
To install, extract one of these packages in a folder of your choice, then set the JAVA_HOME environment variable to that folder. Alternatively, you can use native installers for your operating system of choice, as described in the next section.
🌐
TheServerSide
theserverside.com › blog › Coffee-Talk-Java-News-Stories-and-Opinions › How-to-install-Java-21
How to download and install Java 21 on Windows
There are many distributions of Java that are built from the same, open-source JDK. The Azul and Red Hat distributions are two of my favorites, and I love the open source Adoptium Temurin edition from Eclipse, but Oracle is the steward of the platform, so downloading and installing the OpenJDK from them at jdk.java.net is always a safe bet.
Find elsewhere
🌐
GeeksforGeeks
geeksforgeeks.org › download-and-install-java-development-kit-jdk-on-windows-mac-and-linux
Download and Install Java Development Kit (JDK) on Windows, Mac, and Linux - GeeksforGeeks
April 8, 2025 - C:\Program Files\Java\jdk-{YOUR_JDK_VERSION}. Click on OK => OK => OK. ... Follow the steps below to install the Java software Development Kit on a Linux environment.
🌐
Oracle
java.com › en › download › manual.jsp
Download Java
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.
🌐
JetBrains
jetbrains.com › guide › java › tips › download-jdk
Download a JDK - JetBrains Guide
February 17, 2023 - If you don't have the necessary JDK on your computer, select Download JDK. In the Download JDK popup, specify the JDK vendor and version, change the installation path if required, and click Download.
🌐
NTU Singapore
www3.ntu.edu.sg › home › ehchua › programming › howto › JDK_Howto.html
How to Install JDK (on Windows, Mac OS, Ubuntu) and Get Started with Java Programming
Variable name : PATH Variable value : c:\Program Files\Java\jdk-15.0.{x}\bin;[do not delete exiting entries...] You need to re-started CMD for the new environment settings to take effect. ... Right-click "Start" button ⇒ run... ⇒ enter "cmd", or · Click "Start" button ⇒ Windows System ⇒ Command Prompt · Issue the following commands to verify your JDK installation:
🌐
OpenJDK
openjdk.org › install
OpenJDK: Download and install
The java-1.7.0-openjdk package contains just the Java Runtime Environment. If you want to develop Java programs then install the java-1.7.0-openjdk-devel package.
🌐
Medium
medium.com › @gauravshah97 › how-to-install-java-on-windows-20fb8c329b74
How to Install Java on Windows. Java is a high-level, object-oriented… | by Gaurav Shah | Medium
April 13, 2024 - Open a web browser and go to the Oracle Java Downloads page. 2. Select the latest JDK version. In this example, the latest available version is JDK 21. 3. Navigate to the Windows tab. 4. Click the x64 Installer download link.
🌐
Reddit
reddit.com › r/javahelp › how to i install the latest version of jdk?
r/javahelp on Reddit: How to I install the latest version of JDK?
June 24, 2023 -

I want to follow along with "Algorithms, 4th Edition by Robert Sedgewick" to prepare for my data structures and algorithms class this coming semester. I've used Java before, but it's been about a year since I've used the language.

So I've been trying to run some basic Hello World programs, but I'm prompted to have at least Java 19. I've been trying to update the JDK using these tutorials and articles:

https://www.youtube.com/watch?v=5cia3zuG9XY

https://www.happycoders.eu/java/how-to-switch-multiple-java-versions-windows/

Things I've changed in system environment variables: 1 2 3 4

How it looks after doing those changes by following tutorials: still JDK 11

I've also tried restarting my device, then checking the version again, but it's still not JDK 20

Neither seem to work. Can anyone figure out what I've been doing wrong? Any well-intentioned advice is appretiated.

Top answer
1 of 5
3
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.
2 of 5
1
Okay, so I got the intellij to stop the "Java error: release version 19 not supported," but I'm having another issue with this I'll fix this in the morning. I just want to set up my coding environment so learning Data structs and algos while following through princeton's course would be more seamless. If anyone has advice for this new issue, or my situation in general, it'll be much appreciated! c
🌐
PhoenixNAP
phoenixnap.com › home › kb › devops and development › how to install java on windows
How to Install Java on Windows
December 11, 2025 - To download the latest Java Development Kit installation file for Windows: 1. Open a web browser and navigate to the Oracle Java Downloads page. 2. Select the latest JDK version.
🌐
Reddit
reddit.com › r/javahelp › how do i install java?
r/javahelp on Reddit: How do I install Java?
April 14, 2024 -

I'm sorry for this stupid question, but I'm really struggling here. I'm using Linux, and I don't know what I should install, there are so many packages. Should I install java, jdk, jvm, jre??? Maybe Openjdk? Java 8, 17 or 20?
For context, I'm coming from Python and a little bit of C, and installing python is easy you just install the python interpreter and run "python", or with C you just install GCC and glibc (if you don't have it for some reason). But for Java there are so many options and so many packages I just want to compile and run Java files, with the Java standard library, help please?

🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-java-with-apt-on-ubuntu-22-04
How to Install Java with Apt on Ubuntu (JRE & JDK) | DigitalOcean
February 2, 2026 - In this guide, you will install various versions of the Java Runtime Environment (JRE) and the Java Developer Kit (JDK) using apt. You’ll install OpenJDK as well as the official JDK from Oracle. You’ll then select the version you wish to use for your projects.