problem ti run the demo!!!!

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

problem ti run the demo!!!!

Post by cecile » Mon Apr 23, 2001 11:45 am

Hi, I am working on Windows NT
I have installed jdk and I have unpacked all the files to a jar.but I can't run teh demo with this command :
java -cp jfreechart.jar........
Sur dos on me dit illegal argument -cp pour java??
Merci pour tout aide
Cecile

Pete Bennett

RE: problem ti run the demo!!!!

Post by Pete Bennett » Tue Apr 24, 2001 3:43 pm

Which version of java are you running ?

Run command :-

java -version

If you are running 1.1.x then the -cp option is not supported.

More importantly, jFreeChart needs the Java2D libraries and hence the Java 2 download (I recommended 1.3.02 from http://java.sun.com/j2se/1.3/download-windows.html)

Cheers,
Pete

David Gilbert

RE: problem ti run the demo!!!!

Post by David Gilbert » Tue Apr 24, 2001 11:15 pm

Pete,

Thanks for your excellent answer - I really appreciate it when others jump in and help out like that...

Regards,

DG.

cecile

RE: problem ti run the demo!!!!

Post by cecile » Wed May 02, 2001 2:18 pm

thanks a lot . I was on holliday :-) Now I can work
best regards
Cecile

Locked