Quick guide to download and install OpenJDK 12 on Windows. - OpenJDK Community Version
OpenJDK is the short form of Open Java Development Kit similar to Oracle's Java Development Kit used to develop Java Applications. Main difference between Oracle JDK and OpenJDK is that OpenJDK is free for all while Oracle Java Development Kit or Oracle JDK requires commercial license. For more details refer openjdk vs oracle jdk
If you want to know more about OpenJDK, you can go through Open Java Development Kit Quick guide.
Note: To uninstall previously installed OpenJDK please refer Uninstall OpenJDK Windows
There are many OpenJDK vendors out there in the market, you can download OpenJDK from AdoptOpenJDK, Redhat OpenJDK, Zulu OpenJDK or from Community OpenJDK.
Below are the steps to download and install Community OpenJDK. If you would like to install OpenJDK from other vendors please refer :
Unlike Oracle JDK or AdoptOpenJDK, community OpenJDK 10 doesn't provide any executables (windows .exe files ) for easy installation. This might make the OpenJDK 12 installation on Windows bit difficult for newbies. To install windows OpenJDK 12, all you have to do is, Download the latest OpenJDK 12 zip/tar file and unzip to a convenient directory on you windows machine. Set the path to downloaded OpenJDK 12 bin directory in the Path Variable.
Here is the step by step procedure to download and install the latest OpenJDK 10 on Windows 10 / Windows 8 / Windows 7.
Once the OpenJDK 12 Download and installation is complete, we can verify the installed OpenJDK 12 version using Command Prompt.
Click on Windows Search Button and type cmd and then click on command prompt shortcut.
Go to command prompt and type java -version
The above command prints the OpenJDK 12 version you installed.
Note: Here is the list of OpenJDK known-issues OpenJDK Known Issues
Redhat OpenJDK installation, Click here to read more.
AdoptOpenJDK installation, Click here to read more.
Here is the quick video tutorial that demonstrates how to Download and Install OpenJDK 12 on Windows 10.
Download OpenJDK - here are the OpenJDK versions you might be interested in!
OpenJDK 7 Download Windows 64 bit
OpenJDK 8 Download Windows 64 bit
OpenJDK 9 Download Windows 64 bit
OpenJDK 10 Download Windows 64 bit
OpenJDK 11 Download Windows 64 bit
OpenJDK 12 Download Windows 64 bit
If you are looking out for earlier OpenJDK versions, go to OpenJDK Archive
Unlike community OpenJDK, Red Hat provides OpenJDK build in executable as well as zipped format for easy installation on windows. To install Red Hat OpenJDK 12 on windows, all you have to do is, Download the latest version of Red Hat OpenJDK 12 MSI/ZIP file ( example jdk-11.0.6-x64 ZIP or jdk-11.0.6-x64 MSI) from Red hat official site. If you have downloaded OpenJDK 12 MSI, go ahead and install the MSI like any other windows installations and if you have downloaded the ZIP version, unzip the OpenJDK 12 to a convenient directory on you windows machine. Set the path to downloaded OpenJDK 12's bin directory in the Path Variable.
Here is the step by step procedure to install the latest Red Hat OpenJDK 12 on Windows 10 / Windows 8 / Windows 7.
AdoptOpenJDK provides an open and reproducible build and test system for OpenJDK source across multiple platforms. AdoptOpenJDK provides OpenJDK binaries for the Java ecosystem.
Here is the step by step procedure to install the latest AdoptOpenJDK on Windows 10 / Windows 8 / Windows 7.