ITPAM Agent installation failed with OpenJDK error

book

Article ID: 221858

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

While installing agent with jnlp file using below command:
javaws -verbose <path to downloaded jnlp file>

Installation failed with below error messages:
itw-rust-debug: command "C:\\Program Files\\Java\\jdk8u302-b08\\bin\\bin\\java" "-version"
itw-rust-debug: failed to launch jdk recognition. failback to 8
note: Run with 'RUST_BACKTRACE=1' environment variable to display a backtrace.

Cause

JAVA_HOME environment variable is not properly set.

Environment

Release : 4.3.05

Resolution

Modify the JAVA_HOME variable to valid path as below:
JAVA_HOME=C:\Program Files\Java\jdk8u302-b08\

Additional Information

In this case, below jdk version is used from AdoptOpenJDK:
jdk8u302-b08_openj9-0.27.0