B.4 Error: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment

If you have set the value of the DISPLAY variable manually or the system has manipulated it automatically, you can encounter the java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment error . In case you change the value of the DISPLAY variable to a Windows-client system IP, to run the 64-bit Linux installer through a Windows client, reset it to its original value after the installation is complete. If you generate an analysis that contains graphs without resetting the value of the DISPLAY variable, you can get this error.

To fix this error:
  1. Reset the value of the DISPLAY variable.
  2. Restart the JavaHost process.