HACP & HATS User Group

HACP & HATS User Group

HACP & HATS User Group

This group is dedicated to share news, knowledge and insights about HACP (Host On-Demand and Personal Communications) & HATS products

 View Only

Usage of specific Java Runtime for HOD Launcher

By Sathiya Priya posted Mon November 11, 2024 02:02 AM

  

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:

  1. Go to the Host On-Demand publish directory (e.g., C:\Program Files\IBM\HostOnDemand\HOD).
  2. Open the HODBaseDetect.js file located in the publish directory.
  3. 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:

  1.      In the system environment variables, configure the HOD_LAUNCHER_JAVA with the HOD 15 jre bin location.
  2.       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.

  3.      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.

  4. Sathiyapriya S

    Lab Services, IBM HACP & HATS

0 comments
12 views

Permalink