java.lang.NoClassDefFoundError: sun.awt.X11GraphicsEnvironment (initialization failure)

Technote (troubleshooting)


You try to run a Java agent on a Lotus® Domino® for IBM® i (i5/OS®) server. It is failing with the following error message:

    "java.lang.NoClassDefFoundError: sun.awt.X11GraphicsEnvironment (initialization failure)"
The agent works when run on Microsoft® Windows®.


IBM i V5R4

Resolving the problem

IBM i requires that you edit or add the following line to the file.


For details, refer to the IBM i Information Center at:

You can edit the file using the following command:

EDTF STMF('/QIBM/UserData/JAVA400/')

Warning: Java is case sensitive. Be sure to create the file name exactly as shown and to use all lowercase letters for the property.

Be aware that this property must be set at the system level. Creating a file in the /home/QNOTES directory will not allow the agent to run.

Related information

System Properties needed for NAWT

    Product Alias/Synonym

    System i
    IBM i

Rate this page:

(0 users)Average rating

Add comments

Document information

More support for:

IBM Domino

Software version:

7.0, 8.0, 8.5

Operating system(s):

IBM i, i5/OS

Software edition:

Edition Independent

Reference #:


Modified date:


Translate my page

Machine Translation

Content navigation