Demo Error!!

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

Demo Error!!

Post by Eric » Thu Dec 20, 2001 3:00 am

I am a new user want to use the JFreeChart. I want to use the demo and start from the demo. But I got the error as bellow:

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

Could anyone help me?

David Gilbert

RE: Demo Error!!

Post by David Gilbert » Thu Dec 20, 2001 9:11 am

Hi Eric,

XYDataset is an interface that is now part of the JCommon Class Library. The runtime jar file is included with the JFreeChart download in the jars directory. You need to make sure you include this jar file on your classpath.

If you need the source code for JCommon (recommended) then you should download the library from:

http://www.jrefinery.com/jcommon

I'm in the process of updating the installation documentation to make this clearer.

Regards,

DG.

Eric

RE: Demo Error!!

Post by Eric » Thu Dec 20, 2001 10:41 am

Dear Sir:
Thanks the demo is working.

Locked