EEM Installation Error on RHEL 9.7 - libXtst.so.6 Missing
search cancel

EEM Installation Error on RHEL 9.7 - libXtst.so.6 Missing

book

Article ID: 439892

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

When attempting to install Embedded Entitlements Manager (EEM) on Red Hat Enterprise Linux (RHEL) 9.7, the installer fails with an InvocationTargetException and a NoClassDefFoundError.
The stack trace indicates a failure to initialize 
java.awt.Toolkit due to a missing shared object file.

Error Message:

Invocation of this Java Application has caused an InvocationTargetException.Stack Trace: java.lang.NoClassDefFoundError: Could not initialize class java.awt.ToolkitCaused by: java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: /tmp/install.dir.41837/Linux/resource/jre/lib/libawt_xawt.so: libXtst.so.6: cannot open shared object file: No such file or directory

Environment

  • Product: Embedded Entitlements Manager (EEM) 12.7.X AutoSys 24.X
  • Operating System: Red Hat Enterprise Linux (RHEL) 9.7

Cause

The installation fails because the installer's Java environment cannot locate the required X11 Test extension library (libXtst.so.6) on the host system.
This library is a prerequisite for Java-based installers on Linux, even when the installation is performed in console mode EEM installation error.

Resolution

To resolve this issue, install the missing library and its dependencies as a root or sudo user:

  1. Install the libXtst library:
    dnf install libXtst
  2. (Optional but recommended) Ensure other common X11 libraries required by Java are present:
    dnf install libXrender libXi
  3. Rerun the EEM installer.

If the issue persists, verify the environment details by checking the OS release:

cat /etc/*release*