WA Agent install fail and install log show that installer can't find "/bin/java".
search cancel

WA Agent install fail and install log show that installer can't find "/bin/java".

book

Article ID: 446078

calendar_today

Updated On:

Products

Workload Automation Agent Autosys Workload Automation ESP dSeries Workload Automation ESP dSeries Workload Automation - Business Agents (dSeries) ESP dSeries Workload Automation - Scheduler (dSeries) ESP dSeries Workload Automation - System Agent (dSeries)

Issue/Introduction

Installer failing to install WA Agent. The log file shows that it can't find "/bin/java". 

Environment

Workload Automation Agent: 24.0 or above

Cause

The installer is not able to find the correct Java.

Resolution

As of 24.x users may select from JRE 8, 11, 17 or 21.

If using silent install properties, make sure to define exact path of external JRE.  Here is a sample installer properties:

INSTALLER_UI=SILENT
ACCEPT_EULA=ACCEPT
AGENT_NAME=AGENT1234
AGENT_PORT=7520
AUTOSYS_MODE=false
NUM_MANAGER_1=0
LOCAL_SECURITY=off
SNMP_MGMT_CONN=0
JMX_PLUGIN=0
FTP_PLUGIN=0
SNMP_PLUGIN=0
CA_SOCKET=0
NUM_MANAGER_VARS_2=0
NUM_USER_VARS_2=0
LOOKUPCMD=true
JOBLOG=false
USER_INSTALL_DIR=/opt/CA/WA_Agent
#Actual path may be different, following is an example.
JVM_DOT=/usr/lib/jvm/java-17-openjdk-17.0.19.0.10-2.el9.x86_64
JVM_PATH=/usr/lib/jvm/java-17-openjdk-17.0.19.0.10-2.el9.x86_64/bin/java