Chapter 4. Installing OpenJDK with the MSI installer

This procedure describes how to install OpenJDK 11 for Windows using the MSI-based installer.


  1. Download the MSI-based installer of OpenJDK 11 for Windows.
  2. Run the installer for OpenJDK 11 for Windows.
  3. Click Next on the welcome screen.
  4. Check I accept the terms in license agreement, then click Next.
  5. Click Next.
  6. Accept the defaults or review the optional properties.
  7. Click Install.
  8. Click Yes on the Do you want to allow this app to make changes on your device?.
  9. 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)