I am attempting to create an executable .jar file which references JFreeChart classes. My directory structure is as follows:
Code: Select all
Development
|
|
Jars (contains file "Search.jar")
|
|
JFreeChart (contains files "jcommon1.0.1.jar" and "jfreechart1.0.1.jar")
Code: Select all
Class-Path: Jars/JFreechart/jfreechart-1.0.1.jar Jars/JFreeChart/jcommon-1.0.1.jar
This results in a NoClassDefFoundError: org.jfree.data.time.RegularTimePeriod.class
I cannot see that I am doing anything wrong in the specification of the Class-Path, but for some reason it won't load the JFree .jars it needs. I'm sure it must be something dumb I'm doing, but I can't seem to find it.
Any ideas?
Thanks in advance for any suggestions.