I've been using JFreeChart for a while for a project for a professor at my university. It was all going well, and in fact, I was able to compile this program before. But now he wanted the entire thing deployed to a number of Windows 7 Laptops. I actually was able to move it without recompiling the whole thing (I did have to recompiled the C++ part I used, but that's another matter entirely), but now I have to make a change to it, which is where I am having trouble compililng.
When I try to compile, it gives me errors that it can't find the symbols from the JFreeChart library. I thought that all I had to do was include the .jar files on the classpath, but that isn't working.
Here is line I am using to compile:
Code: Select all
javac -classpath "C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Adaptec Shared\System;C:\Program Files\System Center Operations Manager 2007\;C:\Program Files\java2\modules\ext\swing-worker-1.1.jar;C:\Program Files\java2\modules\ext\appframework-1.0.3.jar;C:\Program Files\java\jdk1.6.0_14\bin\fileiotest; C:\Program Files\jfreechart1.0.13\lib\jcommon1.0.16.jar; C:\Program Files\jfreechart1.0.13\lib\jfreechart1.0.13.jar" FileIOTestApp.java FileIOTestView.java FileIOTestAboutBox.java dllinterface.java
I realize that this probably isn't exactly a JFreeChart problem, rather it's a problem with my file structure (I never did understand how to do that with Java), but JFreeChart is the only third party library I use.