Windows MSI installer of OpenJDK install JRE and not JDK

Solution Verified - Updated -


  • Executing the following command on a Windows server:
msiexec /i "" ADDLOCAL=jdk /qn

Results in an install of just the JRE. The JDK folder is not installed (and the setting appears uninstalled if the MSI is later run in interactive mode. No error appears in the install log).


  • OpenJDK 8
  • Windows

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In