I'm trying to run one of the demos that comes along with jfree chart as follows:
> setenv CLASSPATH .:blah/jfreechart-1.0.1.jar:blah/jcommon-1.0.0.jar
> javac PieChartDemo1.java
> java PieChartDemo1.class
Exception in thread "main" java.lang.NoClassDefFoundError: PieChartDemo1/class
>
Not sure what I'm doing wrong. If it were a classpath error, wouldn't the javac fail? If anybody has some suggestions, I'd be very appreciative...
java.lang.NoClassDefFoundError: PieChartDemo1/class
-
- Posts: 4
- Joined: Sat Mar 25, 2006 5:39 am