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


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


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