My Oracle Support Banner

"Could not initialize class sun.awt.X11GraphicsEnvironment" error when running WebCenter Sites silent installer (Doc ID 1478713.1)

Last updated on JUNE 12, 2023

Applies to:

Oracle WebCenter Sites - Version 7.6.2 to [Release FatWire]
Information in this document applies to any platform.


Silent installer fails to run, and exception appears to indicate the installer is trying to load X11 libraries:

# ./ -silent
JAVA_HOME is set using located at at: /u01/java/jdk1.6.0_26//bin/java
Using Java VM version 1.6.0_26

Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(
  at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
  at sun.awt.X11.XToolkit.(
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(
  at java.awt.Toolkit$
  at Method)
  at java.awt.Toolkit.getDefaultToolkit(
  at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(
  at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(
  at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(
  at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(
  at javax.swing.UIManager.setLookAndFeel(
  at javax.swing.UIManager.setLookAndFeel(
  at javax.swing.UIManager.initializeDefaultLAF(
  at javax.swing.UIManager.initialize(
  at javax.swing.UIManager.maybeInitialize(
  at javax.swing.UIManager.getUI(
  at javax.swing.JPanel.updateUI(
  at javax.swing.JPanel.(
  at javax.swing.JPanel.(
  at javax.swing.JPanel.(
  at COM.FutureTense.Apps.Install.ftInstallDialog.(
  at COM.FutureTense.Apps.CSSetup.(
  at COM.FutureTense.Apps.CSSetup.main(


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.