Can I run reports with system settings java.awt.headless set to false

Hi,


 


I am using BIRT runtime 4.2.2 library to integrate BIRT engine. Report generation works fine on windows, but when it comes to linux it throws below error


 


java.awt.AWTError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)

 

In our product were the BIRT is integrated we already have java.awt.headless set to false, this is required for us for other integrations to work. If we change the headless settings to true BIRT will work, but the other product integration will fail. Is there any alternative to setting headless to true which is the default JVM value,

In short I will have headless set to false, but still the reports should be generated, is this possible.

 

Regards

Srinivas Masam

Sign In or Register to comment.