To run any application using EspressChart in an AS/400 environment using NAWT, you must do the following:
Set the DISPLAY
environment variable to the system name and display number. The display number is the display number of the VNC server.
Set the XAUTHORITY
variable to /home/VNCProfile/.Xauthority
, where VNCProfile is the profile that started the VNC server. Please note that XAUTHORITY
need not be set if both the VNC server and the Java virtual machine is running under the same user profile.
Set the Java system property before running java
os400.awt.native=true
To run any application using EspressChart in an AS/400 environment using headless mode, you must do the following:
Set the Java system property before running java
java.awt.headless=true
Make sure that your code include the following before calling any QbChart
constructor:
QbChart.setForExportOnly(true);
To run any application using EspressChart in a Linux/Unix environment using X, you must do the following:
Set the DISPLAY
environment variable to a X client system name and display number.
To run any application using EspressChart in a Linux/Unix environment using headless mode, you must do the following:
Set the Java system property before running java
java.awt.headless=true
Make sure that your code include the following before calling any QbChart
constructor:
QbChart.setForExportOnly(true);