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

Last updated on APRIL 13, 2016

Applies to:

Oracle WebCenter Sites - Version 7.6.2 to 11.1.1.8.0 [Release FatWire]
Information in this document applies to any platform.
***Checked for relevance on Tuesday, January 07, 2014***

Symptoms

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

# ./csInstall.sh -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(Class.java:169)
  at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
  at sun.awt.X11.XToolkit.(XToolkit.java:89)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Class.java:169)
  at java.awt.Toolkit$2.run(Toolkit.java:834)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826)
  at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:122)
  at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1554)
  at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:130)
  at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1589)
  at javax.swing.UIManager.setLookAndFeel(UIManager.java:514)
  at javax.swing.UIManager.setLookAndFeel(UIManager.java:554)
  at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1317)
  at javax.swing.UIManager.initialize(UIManager.java:1406)
  at javax.swing.UIManager.maybeInitialize(UIManager.java:1394)
  at javax.swing.UIManager.getUI(UIManager.java:980)
  at javax.swing.JPanel.updateUI(JPanel.java:109)
  at javax.swing.JPanel.(JPanel.java:69)
  at javax.swing.JPanel.(JPanel.java:92)
  at javax.swing.JPanel.(JPanel.java:100)
  at COM.FutureTense.Apps.Install.ftInstallDialog.(ftInstallDialog.java:2379)
  at COM.FutureTense.Apps.CSSetup.(CSSetup.java:230)
  at COM.FutureTense.Apps.CSSetup.main(CSSetup.java:364)

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms