Install webagent in console mode is failing : Could not initialize class sun.awt.X11GraphicsEnvironment

Document ID : KB000018716
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When installing webagent in console mode on a linux Redhat environment, it fails with the following:

java.lang.NoClassDefFoundError: Could not initialize classsun.awt.X11GraphicsEnvironment

Solution:

Removing the DISPLAY variable fix the problem as the DISPLAY is not used for console mode installation