I just followed the directions for JFreeChart
http://www.jfree.org/ completely (except for the
Ant and Javadoc parts) and for some reason NetBeans is still not finding the library since it's saying "cannot find symbol. symbol: class DefaultPieDataSet" etc. with the sample code in the installation guide.
The installation guide says to add as library in NetBeans using Library Manager and I specified the classpath JARs and sources directories for both JFreeChart and JCommon. Then I added the libraries to my existing project, and then when that didn't work I created a new one just like the guide says. Installation guide can be found here -
http://surfnet.dl.sourceforge.net/project/jfreechart/2.%20Documentation/1.0.13/jfreechart-1.0.13-install.pdf. I also tried imports like "import org.jfree.*;" with no luck. It doesn't have an error on the import but still does on the rest of the code.
I'm fairly new to NetBeans but I've already got the JavaMail library working fine so I thought this would be easy with the instructions.
Ah then I thought I needed to add the directories to the classpath since I saw I had put JavaMail there (on Windows). Annoying since I don't want to have to do this on whatever server I use too but I tried it. I added directories for where I put it, the lib directory of jfreechart-1.0.13, and the jcommon-1.0.16 directory.
;C:\Program Files\Java\jfreechart-1.0.13\lib;C:\Program Files\Java\jcommon-1.0.16;
That didn't work either however.
Any help is appreciated!