Compiler Errors

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

Compiler Errors

Post by Joe Moore » Wed Jul 24, 2002 3:09 pm

When compiling the source not using the jars I get a couple of circular references. For example Chart requires Event and Event requires Chart. I was able to use the jars to get around this however, I don’t believe this is a good solutions. Am I doing something wrong? I am a C++ guy not an expert Java developer (at least not yet). I am sure there is a little trick I just don’t know it.

Joe

FritzWepper

Re: Compiler Errors

Post by FritzWepper » Thu Jul 25, 2002 8:08 am

You should provide the java compiler with the information where to find depending source files (-sourcepath) . It should then be able to resolve dependencies.

Locked