My Oracle Support Banner

java.lang.NoClassDefFoundError: Sun.awt.X11GraphicsEnvironment (initialization Failure) (Doc ID 1527541.1)

Last updated on MAY 22, 2024

Applies to:

Oracle WebLogic Server - Version 9.2.3 and later
Oracle Data Integrator - Version to [Release 12c]
Java SE JDK and JRE - Version 5 and later
Identity Manager - Version to [Release 12c]
Information in this document applies to any platform.


On Weblogic Server, while loading a printing application, a NoClassDefFoundError is seen. Additionally, the following exception is seen:

LL: ERROR | TS: 2012-12-04 14:52:47,939 | AR: RxC_07.02.15.00 | STORE: 06911:wks06 | USER: | HOST: wks06 | APPSERVER: hostname/ | MSGID: <MSGID>: |SC: [DocServiceBase.getPrintStream] | MSG: sun.awt.X11GraphicsEnvironment (initialization failure) | java.lang.NoClassDefFoundError: sun.awt.X11GraphicsEnvironment (initialization failure)
at java.lang.J9VMInternals.initialize(
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
at java.awt.image.BufferedImage.createGraphics(


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.