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 12.2.1.0.0 to 12.2.1.0.0 [Release 12c]
Java SE JDK and JRE - Version 5 and later
Identity Manager - Version 12.2.1.3.211001 to 12.2.1.3.211001 [Release 12c]
Information in this document applies to any platform.

Symptoms

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/aa.bb.cc.ddd | MSGID: <MSGID>: |SC: [DocServiceBase.getPrintStream] | MSG: sun.awt.X11GraphicsEnvironment (initialization failure) | java.lang.NoClassDefFoundError: sun.awt.X11GraphicsEnvironment (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:130)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:102)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1174)
...
...

Cause

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
Symptoms
Cause
Solution


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