We are using Solaris 8 (no windows libraries) and are encountering the following exception when trying to create a plot:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Font.initializeFont(Font.java:310)
at java.awt.Font.<init>(Font.java:346)
at com.jrefinery.chart.Plot.<init>(Unknown Source)
at com.jrefinery.chart.XYPlot.<init>(Unknown Source)
at com.jrefinery.chart.XYPlot.<init>(Unknown Source)
Do we need to specify "headless=true" in the startup script for our application server (JBoss 3.0.2)? Is there anything else we should be aware of or try ahead of time?
Thanks,
Dan
Headless???
Re: Headless???
You will need to set the "headless" flag to true. Here's a thread that talks about it (and the other options for those using older JDKs):
http://www.object-refinery.com/phorum-3 ... 783&t=2987
Regards,
DG
http://www.object-refinery.com/phorum-3 ... 783&t=2987
Regards,
DG