XCOM Linux 12.0 install "Could not find or load main class com.zerog.lax.LAX"
search cancel

XCOM Linux 12.0 install "Could not find or load main class com.zerog.lax.LAX"

book

Article ID: 400152

calendar_today

Updated On:

Products

XCOM Data Transport XCOM Data Transport - Linux PC

Issue/Introduction

Using Red Hat Linux (RHEL) 9.x.
Trying to run the XCOM for Linux 12.0 installer file XCOM.bin and receive the following error:

# ./XCOM.bin

Preparing to install

Extracting the installation resources from the installer archive...

Configuring the installer for this system's environment...

 

Launching installer...

 

Error: Could not find or load main class com.zerog.lax.LAX

Caused by: java.lang.ClassNotFoundException: com.zerog.lax.LAX

Environment

XCOM™ Data Transport® for Linux PC

Cause

Java 11 or higher cannot be used to install XCOM for Linux and only Java 1.8 can be used.

Resolution

The Java 1.8 requirement is stated on this doc. page: XCOM Data Transport for UNIX/Linux 12.0 > Installing > Prepare for Installation > Address Software Requirements
See section "Java 1.8 (64 bit)".

As that page states an Open version of Java 1.8 can be used which is also covered in this article: Implementing OpenJDK with XCOM for Linux (and Windows)

This is what Support has installed on their RHEL 9 system with OpenJDK installed and the correct 1.8 version of the java executable is being picked up from symbolic link /usr/bin/java (linked to the OpenJDK 1.8 java executable):
# which java
/usr/bin/java
# ls -l /usr/bin/java
lrwxrwxrwx. 1 root root 22 Aug  1  2024 /usr/bin/java -> /etc/alternatives/java
# ls -l /etc/alternatives/java
lrwxrwxrwx. 1 root root 71 Aug  1  2024 /etc/alternatives/java -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-4.el9.x86_64/jre/bin/java

Additional Information

XCOM Engineering has confirmed that later Java version support will be included in a future XCOM for Linux release. There is no timeline available yet.

NOTE : For RHEL9, due to no xinetd process, after the install you will also need to install PTF LU11905 to enable systemd to host the XCOM txpi* services.
See doc. page XCOM Data Transport for UNIX/Linux 12.0 > Release Notes > New Features and section "New txpi Services for systemd on Red Hat 9 and SUSE 15 SP03 (LU11905)"