NEW USER

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

NEW USER

Post by Joe Pang » Wed Feb 27, 2002 8:33 pm

I am a new user to JFreeChart and would like to use it for my final year project. (I am relatively new to Java as well!).

Having downloaded and extracted the JFreeChart and JCommon files to my local directory (which I use for compiling my java code), I have been unable to run the demo and get the NoClassDefFoundError.

I have tried moving the folders around to the right places but can't seem to find success.

Could anybody let me know exactly what I need to do?

Much appreciated,
Joe

David Gilbert

Re: NEW USER

Post by David Gilbert » Thu Feb 28, 2002 10:46 pm

Hi Joe,

It sounds like you are having trouble with your CLASSPATH. I can remember when I started programming in Java, the classpath confused me. Now it seems really straightforward, but not back then!

Unfortunately it's not something that is easy to explain. Bruce Eckel's book "Thinking In Java" is one I know of that does a good job. You can download a free copy from www.bruceeckel.com...but I'd recommend buying a paper copy, because it explains so many aspects of Java that you might not otherwise think about.
Hope that helps,

Dave Gilbert

Locked