search cancel

Linux IDM Install Failing: Could not initialize class java.awt.Toolkit

book

Article ID: 228347

calendar_today

Updated On:

Products

CA Identity Manager

Issue/Introduction

When attempting IDM install on Linux the below error is being thrown:

[[email protected]]$ ./ca-im-14.3.0-linux.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
        at java.awt.Component.<clinit>(Component.java:593)
        at com.zerog.ia.installer.LifeCycleManager.g(DashoA10*..)
        at com.zerog.ia.installer.LifeCycleManager.h(DashoA10*..)
        at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
        at com.zerog.ia.installer.Main.main(DashoA10*..)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.zerog.lax.LAX.launch(DashoA10*..)
        at com.zerog.lax.LAX.main(DashoA10*..)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Environment

Release : 14.3

Component :

Resolution

There are a few reasons why this error is thrown:

1) The execution command is incorrect as it is missing the -i console

Example:

./ca-im-<release>-linux.bin -i console

2) The user does not have sufficient permissions to execute the install media. As such, try running the install as root.

Linux Reference Install Documentation:

https://techdocs.broadcom.com/us/en/symantec-security-software/identity-security/identity-manager/14-4/upgrading/unix-linux-and-non-provisioning-installations.html