cancel
Showing results for 
Search instead for 
Did you mean: 

NoClassDefFoundError: sun.awt.X11GraphicsEnvironment

Former Member
0 Kudos

Hi all,

We are trying to generate dynamic images on portal Applications (.PAR and Web Dynpro Applications) and the application crashed and give us the following error:

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

at java.lang.J9VMInternals.initialize(J9VMInternals.java:132)

at java.lang.Class.forNameImpl(Native Method)

at java.lang.Class.forName(Class.java:119)

at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:91)

We already verified the configuration on the config tool illustrated on the SAP OSS Note 723909 precisely 10.2 setting the Djava.awt.headless parameter on u201Ctrueu201D but we still got the error.

Regards,

Orlando Covault

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

It was an OS variable problem

Former Member
0 Kudos

Hello Orlando,

We are facing the same issue and would appreciate if you remember what was the OS variable which you sent

Regards

PU

Former Member
0 Kudos

Dear PU,

Please check following link for the same issue.

NoClassDefFoundError: sun.awt.X11GraphicsEnviro... | SCN

Thanks & Regards,

Patralekha

Former Member
0 Kudos

thanks for your reply, This setting is already done in config tool but the error persists and we have restarted. As it was mentioned in the message there was some OS setting, i wanted to check on the OS variable setting if any was done. Appreciate if you can guide if there was a OS variable setting required.