1. Extract the zip file into a folder, e.g. C:\Program Files\Java\ and it will create a jdk-11 folder (where the bin folder is a direct sub-folder). You may need Administrator privileges to extract the zip file to this location.

  2. Set a PATH:

    • Select Control Panel and then System.
    • Click Advanced and then Environment Variables.
    • Add the location of the bin folder of the JDK installation to the PATH variable in System Variables.
    • The following is a typical value for the PATH variable: C:\WINDOWS\system32;C:\WINDOWS;"C:\Program Files\Java\jdk-11\bin"
  3. Set JAVA_HOME:

    • Under System Variables, click New.
    • Enter the variable name as JAVA_HOME.
    • Enter the variable value as the installation path of the JDK (without the bin sub-folder).
    • Click OK.
    • Click Apply Changes.
  4. Configure the JDK in your IDE (e.g. IntelliJ or Eclipse).

You are set.

To see if it worked, open up the Command Prompt and type java -version and see if it prints your newly installed JDK.

If you want to uninstall - just undo the above steps.

Note: You can also point JAVA_HOME to the folder of your JDK installations and then set the PATH variable to %JAVA_HOME%\bin. So when you want to change the JDK you change only the JAVA_HOME variable and leave PATH as it is.

Answer from Lior Bar-On on Stack Overflow
🌐
Microsoft Learn
learn.microsoft.com › en-us › java › openjdk › install
Install the Microsoft Build of OpenJDK | Microsoft Learn
For wide-scale deployment, you can install the MSI on the command line using the following steps: Download the .msi file. For more information, see Download the Microsoft Build of OpenJDK.
Top answer
1 of 12
611
  1. Extract the zip file into a folder, e.g. C:\Program Files\Java\ and it will create a jdk-11 folder (where the bin folder is a direct sub-folder). You may need Administrator privileges to extract the zip file to this location.

  2. Set a PATH:

    • Select Control Panel and then System.
    • Click Advanced and then Environment Variables.
    • Add the location of the bin folder of the JDK installation to the PATH variable in System Variables.
    • The following is a typical value for the PATH variable: C:\WINDOWS\system32;C:\WINDOWS;"C:\Program Files\Java\jdk-11\bin"
  3. Set JAVA_HOME:

    • Under System Variables, click New.
    • Enter the variable name as JAVA_HOME.
    • Enter the variable value as the installation path of the JDK (without the bin sub-folder).
    • Click OK.
    • Click Apply Changes.
  4. Configure the JDK in your IDE (e.g. IntelliJ or Eclipse).

You are set.

To see if it worked, open up the Command Prompt and type java -version and see if it prints your newly installed JDK.

If you want to uninstall - just undo the above steps.

Note: You can also point JAVA_HOME to the folder of your JDK installations and then set the PATH variable to %JAVA_HOME%\bin. So when you want to change the JDK you change only the JAVA_HOME variable and leave PATH as it is.

2 of 12
282

Eclipse Adoptium

For Java 17 and up, you can use the Eclipse Adoptium website. According to their about section, the Eclipse Adoptium project is the continuation of the original AdoptOpenJDK mission. It currently hosts Java 8, 11 and 16 through 22, offering various installation methods, including .msi installers, which will perform all the things listed in the question (Unpacking, registry keys, PATH variable updating (and JAVA_HOME), uninstaller...).

Earlier, Java 11 was hosted via AdoptOpenJDK. It now redirects to Eclipse Adoptium.

Discussions

How do you manually install java openjdk?
Did you try follow the instructions? https://openjdk.org/install/ Then you have a folder with all the stuff you need. Now you need to tell your OS how to find the binaries and libraries. For that you need to tell us your OS (Debian, Ubuntu, Arch, Fedora, ...). More on reddit.com
🌐 r/linuxadmin
18
0
November 6, 2024
OpenJDK for windows
Check out https://adoptopenjdk.net/ . You can find binaries for Windows. More on reddit.com
🌐 r/java
9
2
June 25, 2018
openJDK or openJDE or OracleJDK? - Linux
JDK means Java development kit. If you want to develop, you need a JDK. My recommendation would be to install sdkman and use it to install Temurin JDK . For linux, sdkman will make it super easy to manage different java versions. More on reddit.com
🌐 r/javahelp
15
1
January 29, 2023
Which build of openjdk do you use?
I use whatever is being used in production. If I'm developing some logic to be deployed as AWS Lambdas, I'll use Amazon Corretto. If I was using Azure I guess I'd be using Microsoft builds of OpenJDK. If I'm the one providing the JDK, I tend to use Azul's Zulu. More on reddit.com
🌐 r/java
63
24
March 28, 2023
  1. Extract the zip file into a folder, e.g. C:\Program Files\Java\ and it will create a jdk-11 folder (where the bin folder is a direct sub-folder). You may need Administrator privileges to extract the zip file to this location.

  2. Set a PATH:

    • Select Control Panel and then System.
    • Click Advanced and then Environment Variables.
    • Add the location of the bin folder of the JDK installation to the PATH variable in System Variables.
    • The following is a typical value for the PATH variable: C:\WINDOWS\system32;C:\WINDOWS;"C:\Program Files\Java\jdk-11\bin"
  3. Set JAVA_HOME:

    • Under System Variables, click New.
    • Enter the variable name as JAVA_HOME.
    • Enter the variable value as the installation path of the JDK (without the bin sub-folder).
    • Click OK.
    • Click Apply Changes.
  4. Configure the JDK in your IDE (e.g. IntelliJ or Eclipse).

You are set.

To see if it worked, open up the Command Prompt and type java -version and see if it prints your newly installed JDK.

If you want to uninstall - just undo the above steps.

Note: You can also point JAVA_HOME to the folder of your JDK installations and then set the PATH variable to %JAVA_HOME%\bin. So when you want to change the JDK you change only the JAVA_HOME variable and leave PATH as it is.

Answer from Lior Bar-On on Stack Overflow
🌐
OpenJDK
openjdk.org
OpenJDK
Installing · Contributing · Sponsoring · Developers' Guide · Vulnerabilities · JDK GA/EA Builds · Mailing lists · Wiki · IRC · Mastodon · Bluesky · Bylaws · Census · Legal · AI · Workshop · JEP Process · Source code · GitHub · Mercurial · Tools ·
🌐
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.
Find elsewhere
🌐
GitHub
github.com › supertokens › supertokens-core › wiki › Installing-OpenJDK-for-Mac-and-Linux
Installing OpenJDK for Mac and Linux
Navigate to the directory where the archive was downloaded and extract the file tar -xzvf OpenJDK21U-jdk_aarch64_mac_hotspot_21.0.7_6.tar.gz · Install the JDK sudo mv jdk-21.0.7+6 /Library/Java/JavaVirtualMachines/
Author   supertokens
🌐
BCIT
kb.bcit.ca › faculty-staff › download-and-install-openjdk-on-windows10-3395
Download and Install OpenJDK on Windows10 – BCIT
May 25, 2023 - The files will be downloaded to your computer and can be found in your Downloads folder · If you cannot find the pre-built OpenJDK version that you require, visit https://jdk.java.net/ for the the latest OpenJDK binary distributions and follow the Downloading and Installing OpenJDK on Windows 10 instructions below.
🌐
Red Hat
docs.redhat.com › en › documentation › red_hat_codeready_studio › 12.21 › html › installation_guide › installing-openjdk_installation-guide-for-codeready-studio
Chapter 2. Installing OpenJDK | Installation Guide | Red Hat CodeReady Studio | 12.21 | Red Hat Documentation
Optionally, you can install the java-11-openjdk-src and the java-11-openjdk-demo packages. The java-11-openjdk-src package contains the complete OpenJDK 11 class library source code you can use with IDE indexers and debuggers. The java-11-openjdk-demo package contains Java runtimes for OpenJDK (demos and examples). To install java-11-openjdk-demo and java-11-openjdk-src, run:
🌐
OpenJDK
openjdk.org › projects › jdk › 25
JDK 25
Installing · Contributing · Sponsoring · Developers' Guide · Vulnerabilities · JDK GA/EA Builds · Mailing lists · Wiki · IRC · Mastodon · Bluesky · Bylaws · Census · Legal · AI · Workshop · JEP Process · Source code · GitHub · Mercurial · Tools ·
🌐
Reddit
reddit.com › r/java › openjdk for windows
r/java on Reddit: OpenJDK for windows
June 25, 2018 -

I'm having some difficulty in finding/installing OpenJDK on Windows 10.

I'm looking to install OpenJDK 1.8.0_121-b13 64-Bit specifically (to match what is running in our CI)

I (falsely) assumed it was as simple as find the installer & run that (like the oracle stuff) but I'm struggling to even find a windows installer.

Looking for someone to point me in the right direction..

EDIT: I found a way. I went here, clicked on commits here and started walking back through the commits until I found commit 3c1d6aa @ Jan 31, 2017). I then had a look at the diffs and spotted a lovely path to a zip file here. Downloaded/unzipped/ modified JAVA_HOME and it worked. :)

🌐
ImageJ
imagej.net › downloads
Downloads
This includes, but is not limited to: Windows XP, Vista, 7 or 8 with Java installed from java.com · Mac OS X 10.8 “Mountain Lion” or later with Java installed from java.com · Ubuntu Linux 12.04 LTS or later with OpenJDK 8 installed
🌐
Charles Schwab
schwab.com › trading › thinkorswim › download
thinkorswim Download | Charles Schwab
At the prompt, type: sh ./thinkorswim_installer.sh · Note: For clients intending to run thinkorswim on Linux, Solaris, or other Unix variants, manual updates and tuning may be required. We have no official support for configuring these operating systems. ... Ensure that Java 21 (Azul's Zulu OpenJDK 21 is preferable) is installed and accessible, then from your shell of choice, type: java -jar launcher.jar
🌐
JavaFX
openjfx.io › openjfx-docs
Getting Started with JavaFX
Introduction Install Java Run HelloWorld using JavaFX Run HelloWorld via Maven Run HelloWorld via Gradle
🌐
Spring
spring.io › projects › spring-boot
Spring Boot
VMware offers training and certification to turbo-charge your progress.Learn more · Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.Learn more
🌐
TechTutsOnline
techtutsonline.com › home › install openjdk in windows
Install OpenJDK in Windows
August 18, 2022 - You can download the compressed ... archive, the installation is fairly simple. You just need to extract the archive into a folder of your choice....
🌐
Adoptium
adoptium.net › temurin › releases
Latest Releases | Adoptium
There are multiple different ways to get Eclipse Temurin beyond direct downloads. The curated list below shows some of these options for installing high-performance, cross-platform, open-source OpenJDK runtime binaries.
🌐
Visual Studio Code
code.visualstudio.com › docs › java › java-tutorial
Getting Started with Java in VS Code
November 3, 2021 - If you have never installed a JDK before and need to install one, we recommend you to choose from one of these sources: Amazon Corretto · Azul Zulu · Eclipse Adoptium's Temurin · IBM Semeru Runtimes · Microsoft Build of OpenJDK · Oracle Java SE · Red Hat build of OpenJDK ·
🌐
Gluon
gluonhq.com › products › javafx
JavaFX — Gluon
Download OpenJFX builds from Gluon — the team that maintains OpenJFX. Free, signed SDK and jmods for Linux, Windows, and macOS. Optional commercial LTS support.