I'm using jdk1.6.0_02
The system monitor shows I have Xorg sleeping but consuming CPU. Moreover, I'm working in graphics mode with the netbeans IDE and I can see some graphics on the JSP pages when my application is running (except for the chart component)
You will forgive my ignorance, but I do now know where to setProperty("java.awt.head
In which code do I set it? In the jsp that renders the chart? In the bean that implements the dataset producer?
Main Topics
Browse All Topics





by: VenabiliPosted on 2007-10-09 at 10:05:08ID: 20042549
Do you have a X11 server daemon running on the server? Because this class is using native codes which on Unix need X11. en/) instead of the standard AWT
The other option would be to use PJA Toolkit (http://www.eteks.com/pja/
Although... which JDK you use? For 1.4.2+, it may be enough to use java.awt.headless=true
setProperty( "java.awt.headless", true ); in the code or as a start parameter.