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

smasam
edited February 11, 2022 in Analytics #1
<p>Hi,</p>
<p> </p>
<p>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</p>
<p> </p>
<div>java.awt.AWTError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.</div>
<div>at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)</div>
<div> </div>
<div>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,</div>
<div>In short I will have headless set to false, but still the reports should be generated, is this possible.</div>
<div> </div>
<div>Regards</div>
<div>Srinivas Masam</div>