www.jfree.org :: View topic - Offscreen Imaging: X11, DISPLAY, BufferedImage: "Under JRE 1.4, setting the 'headless' property to true allows JFreeChart to render in the absence of an X11 instance. Ray Mercer reports success on RedHat Linux 7.1, 7.1j & 7.2. I have verified correct operation on Solaris 2.7.20:
System.setProperty('java.awt.headless','true');
For servlets, you can use set the property in the command line that invokes the servlet container:
java -Djava.awt.headless=true ...
In tomcat 4, the catalina.sh script can use an environment setting:
setenv CATALINA_OPTS -Djava.awt.headless=true"
Thursday, January 20, 2005
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment