The ideal way would be to use some sort of artifact manager like Maven or Ivy to manage your libraries. If you aren't aware of any of those and want to get started as quickly as you can, visit: http://mvnrepository.com/artifact/jfree and download the latest versions of "jcommon" and "jfreechart". Put those JAR files in your project's classpath (I'm assuming you are using some sort of IDE like Netbeans/Eclipse) and you should be good to go in terms of running JFreeChart snippets.
~s.o.s~
Failure as a human
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734