Chapter 5. Red Hat build of OpenJDK MSI installer components


You can set the following Red Hat build of OpenJDK 21 for Microsoft Windows MSI-based installer components. Setting these components is optional. If these components are not set, the default settings will be used.

jdk
Java Development Kit (JDK) files. Defaults to true, meaning that the jdk component is enabled.
jdk_registry_runtime

A set of Windows registry keys that other software can use to locate JDK installation files. Defaults to true, meaning that the jdk_registry_runtime component is enabled. This component includes the following registry keys:

HKLM\Software\JavaSoft\JDK\<version>, entries:
    JavaHome: <INSTALLDIR>
    RuntimeLib: <INSTALLDIR>\bin\server\jvm.dll

HKLM\Software\JavaSoft\JDK, entries:
    CurrentVersion: <version>
jdk_env_path
Appends <INSTALLDIR>\bin to the system %PATH% environment variable.
jdk_env_java_home
Sets <INSTALLDIR> to the system %JAVA_HOME% environment variable.
jdk_env_vendor_java_home
Sets <INSTALLDIR> to the system %REDHAT_JAVA_HOME% environment variable.
jdk_registry_jar
Association for JAR files. Launch JAR files with the Red Hat build of OpenJDK context menu.
jmc
JDK Mission Control files, installed into <INSTALLDIR>\missioncontrol.
jmc_env
Appends <INSTALLDIR>\missioncontrol to the system %PATH% environment variable.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.