IBM Support

java.lang.NoClassDefFoundError: sun.font.FontManager error when installing patch 5 for the Case Foundation Process Engine 5.0.0

Troubleshooting


Problem

java.lang.NoClassDefFoundError: sun.font.FontManager error when installing patch 5 for the Process Engine on Redhat Linux

Symptom

All modes of the patch installation generate errors.

Interactive installation:

-sh-4.1$ ./5.0.0.5-P8PE-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...

Graphical installers are not supported by the VM. The console mode will
be used instead...

Preparing CONSOLE Mode Installation...
......
Installer User Interface Mode Not Supported

The installer cannot run in this UI mode. To specify the interface
mode, use the -i command-line option, followed by the UI mode
identifier. The valid UI modes identifiers are GUI, Console, and Silent.

=======================================================

Console-mode installation:

-sh-4.1$ ./5.0.0.5-P8PE-LINUX.BIN -i Console
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...

Preparing CONSOLE Mode Installation...
......
Installer User Interface Mode Not Supported

The installer cannot run in this UI mode. To specify the interface
mode, use the -i command-line option, followed by the UI mode
identifier. The valid UI modes identifiers are GUI, Console, and Silent.

=======================================================

Silent installation:

-sh-4.1$ ./5.0.0.5-P8PE-LINUX.BIN -f pe_silent_install.txt
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...

Preparing SILENT Mode Installation...


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

Stack Trace in the pe_silent_install.txt file:


    java.lang.NoClassDefFoundError: sun.font.FontManager (initialization
    failure)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:127)
    at java.awt.Font.getFont2D(Font.java:378)
    at java.awt.Font.getFamily(Font.java:984)
    at java.awt.Font.getFamily_NoClientCode(Font.java:958)
    at java.awt.Font.getFamily(Font.java:950)
    at ZeroGre.a(DashoA10*..)
    at ZeroGre.a(DashoA10*..)
    at ZeroGre.a(DashoA10*..)
    at ZeroGre.a(DashoA10*..)
    at ZeroGre.a(DashoA10*..)
    at ZeroGre.a(DashoA10*..)
    at ZeroGre.a(DashoA10*..)
    at com.zerog.ia.installer.actions.InstallUninstaller.a

Cause

The Linux operating system has the incorrect version of the compat-libstdc++-33-3.2.3-61 package installed.

Diagnosing The Problem

Check the package with the following commands:


rpm -ga | grep compat-libstdc

Sample results:


rpm compat-libstdc++-33-3.2.3-61 -qi

Sample excerpt from theresults:


The red boxes above show the modules of the 64-bit and 32-bit versions of the package in the user/lib64 and user/lib directories, respectively.

If you do not have the 32-bit version of the package, that causes the java.lang.NoClassDefFoundError: sun.font.FontManager error.

Resolving The Problem

Install the 32-bit version of the compat-libstdc++-33-3.2.3-61 package.

[{"Product":{"code":"SSTHRT","label":"IBM Case Foundation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Process Engine","Platform":[{"code":"PF016","label":"Linux"}],"Version":"5.0","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21661782