Introduction:
IBM Host On-Demand Client pages can be opened using the HOD Launcher solution, which utilizes system-configured Java to run the application.
Problem:
If multiple versions of Java are installed on the machine, it may restrict the usage of specific versions needed to launch the HOD application.
Solution:
Use HOD Launcher with a Specific Java Runtime
Starting from IBM Host On-Demand version 15, the HOD Launcher supports using a specific version of the Java runtime to launch applications. An additional parameter, HOD_LAUNCHER_JAVA, has been added to the launcher to select a specific JRE version for launching the HOD application.
Steps to Enable HOD Launcher:
By default, the HOD Launcher is not enabled. To enable it, follow these steps:
- Go to the Host On-Demand publish directory (e.g., C:\Program Files\IBM\HostOnDemand\HOD).
- Open the HODBaseDetect.js file located in the publish directory.
- Search for the isJNLPEnabled parameter. By default, this parameter is set to true. Change it to false and save the file (e.g., isJNLPEnabled=false).
Steps to Add HOD Launcher Parameter:
- In the system environment variables, configure the HOD_LAUNCHER_JAVA with the HOD 15 jre bin location.
-
The HOD Launcher application searches for the installed Java in the following order: HOD_LAUNCHER_JAVA, JAVA_HOME, and PATH.
2. Launch the HTML page and ensure it opens as HODLauncher.html.

-
Click on Open HOD Launcher to launch the page.
2. Verify the HOD 15 Java version in the console.
Note: This support is available on all supported platforms.
Conclusion:
The HOD_LAUNCHER_JAVA parameter allows the HOD application to run with a specific Java version.
-
Sathiyapriya S
Lab Services, IBM HACP & HATS