Running problems

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Patryckson

Running problems

Post by Patryckson » Tue Sep 17, 2002 11:09 am

Hello, I´m Patryckson and I live in Brazil....

I was take JFreeChart-0.9.3.zip file for solve one problem that I have...
I work with Java and Matlab
interfaces for DC Machines simulation.... and for all
the life I use the Dislin Java class.... but now I
would like to use JFreeChar Java class.... ok...


I take this product and I
extract all files from jfreechart-0.9.3.jar, jcommon-0.7.0.jar,
jfreechart-0.9.3-tests.jar,jfreechart-0.9.3-demo.jar,jcommon-0.7.0-tests.jar
to j2sdk1.4.0/jre/classes..... when I use javac
command everythink ok... no occured error.... but when
I use java command everytime occured one error.
Example.: I compile First.java and create
First.class without error, but when I try run this
program writing : java First, the prompt show
me:


Exception in thread "main" java.lang.NoClassDefFoundError: com/jrefinery/data/PieDataset



In others programs (JFreeChartDemo, and others) occure the same like erros............

Thank you.....


SANTOS M, Patryckson

David Gilbert

Re: Running problems

Post by David Gilbert » Tue Sep 17, 2002 4:44 pm

Try following the instructions in the jfreechart-0.9.3-install.pdf file, first just to run the demo program without recompiling it. Then move on to recompiling the whole library, if you need to do this (you can just use the supplied jar files if you want to).

Regards,

DG.

Locked