Search found 5 matches

by jred33
Mon Aug 11, 2003 1:12 pm
Forum: JFreeChart
Topic: How do I use PJAToolkit to solve x11 problem on UNIX box?
Replies: 6
Views: 9526

Try the bootClasspath as listed by.....

See Georg's post above. "You have to add the libraries to the boot classpath, not the normal classpath, and then pass additional options to the JVM, like: -Xbootclasspath/a:${PJALIB}/pja.jar -Dawt.toolkit=com.eteks.awt.PJAToolkit -Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment -Djava2...
by jred33
Fri Aug 08, 2003 8:27 pm
Forum: JFreeChart
Topic: How do I use PJAToolkit to solve x11 problem on UNIX box?
Replies: 6
Views: 9526

Well, that didn't quite work. I am getting .. (in)

java.lang.ExceptionInInitializerError: java.lang.ClassCastException: com.eteks.awt.PJAToolkit at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58) at java.awt.Font.initializeFont(Font.java:264) at java.awt.Font.<init>(Font.java:298) at org.jfree.chart.plot.PiePlot...
by jred33
Fri Aug 08, 2003 7:00 pm
Forum: JFreeChart
Topic: How do I use PJAToolkit to solve x11 problem on UNIX box?
Replies: 6
Views: 9526

Thanks Georg, that FINALLY makes sense now!

I am going to go and try that right now. I am having the sys. admin. change the options as I type this.
I will let you know the results!

Thanks again for the help.

Jeremy
by jred33
Fri Aug 08, 2003 1:44 pm
Forum: JFreeChart
Topic: How do I use PJAToolkit to solve x11 problem on UNIX box?
Replies: 6
Views: 9526

How do I use PJAToolkit to solve x11 problem on UNIX box?

Ok. I have read all the posts out there and I still am coming up with undesirable results. Can someone explain the steps I need to do to get JFreeChart working on a UNIX box (Weblogic and JDK 1.3) using the PJAToolkit? I have already downloaded pja.jar and pjatools.jar I put those in the java classp...
by jred33
Wed Aug 06, 2003 8:34 pm
Forum: JFreeChart
Topic: Why does browser keep prompting to download chart.... (in)
Replies: 1
Views: 2558

Why does browser keep prompting to download chart.... (in)

Question:

How can I stop the browser from prompting me to download the jpg/png containing my chart? I am running this through a servlet.
I set the content type to img/png or img/jpeg depending on which I am running. Any thoughts?

TIA -
Jeremy