Compiling my code

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

Compiling my code

Post by Martin Burrow » Sat May 18, 2002 2:57 pm

Hi,

I've downloaded the zip files and I can run the JFreeChartDemo file. However when I try to compile the source code I get a LOT of errors (atleast 100). I've looked at past thread on this topic but people say to use the precompiled classes in the jar files. Well my question is this:

How do I compile the code that I write? Surely if I write a java file and try to compile I can't because the imported classes in my file dont exist. So how do I do it without compiling the source?

Am I just being dense or what?

Thanks,

Martin

P.S. I'm using windows 98 OS

David Gilbert

Re: Compiling my code

Post by David Gilbert » Sat May 18, 2002 3:31 pm

You can import precompiled classes as long as the jar file is on your classpath. The setup depends on what Java tools you are using.

Regards,

DG.

Martin Burrow

Re: Compiling my code

Post by Martin Burrow » Sat May 18, 2002 5:26 pm

of course! I've reset my class paths to include the new jar files and it works fine now! Thanks for the pointer David.

I'd just like to say that this looks like a VERY good package!

Locked