Upgrade System Agent Linux S390 11.5 to 12.1 SP1 gives "Error: Could not find or load main class com.zerog.lax.LAX"
search cancel

Upgrade System Agent Linux S390 11.5 to 12.1 SP1 gives "Error: Could not find or load main class com.zerog.lax.LAX"

book

Article ID: 384644

calendar_today

Updated On:

Products

Autosys Workload Automation CA Workload Automation AE - System Agent (AutoSys)

Issue/Introduction

When running the upgrade of System Agent 11.5 on s390x environment, following error message appears

Error: Could not find or load main class com.zerog.lax.LAX
Caused by: java.lang.ClassNotFoundException: com.zerog.lax.LAX

Environment

OS : s390x

Cause

System Agent Installer binary for s390 supports Java 8 only. 

Resolution

export JAVA_HOME=<location of jre8>
export PATH=<location of jre8>:$PATH
export JAVA_TOOL_OPTIONS=-Djdk.util.zip.disableZip64ExtraFieldValidation=true

Then, run the installation again. During the installation, point it to the java 11 installation folder. 

Example: /usr/lib/jvm/java-11-openjdk-11.0.25.0.9-3.e19.s390x

The installer will proceed, and during the installation summary (towards the end of the installation) will confirm the directory/path used when specifying the JVM to use.