Chapter 4. Installing OpenJDK with the MSI installer
This procedure describes how to install OpenJDK 11 for Windows using the MSI-based installer.
Procedure
- Download the MSI-based installer of OpenJDK 11 for Windows.
- Run the installer for OpenJDK 11 for Windows.
-
Click
Next
on the welcome screen. -
Check
I accept the terms in license agreement
, then clickNext
. -
Click
Next
. - Accept the defaults or review the optional properties.
-
Click
Install
. -
Click
Yes
on theDo you want to allow this app to make changes on your device?
. Verify the OpenJDK 11 for Windows is successfully installed, run
java -version
command in the command prompt and you must get the following output:openjdk version "11.0.3-redhat" 2019-04-16 LTS OpenJDK Runtime Environment 18.9 (build 11.0.3-redhat+7-LTS) OpenJDK 64-Bit Server VM 18.9 (build 11.0.3-redhat+7-LTS, mixed mode)