a error in compiling JFreeChartDemo

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
amator

a error in compiling JFreeChartDemo

Post by amator » Wed Jun 26, 2002 9:05 am

when i compile the JFreeChartDemo.java,it is ok.But when i run it ,it occurs these errors as follows:
exception in thread "main" java.util.MissingResourceException:Can't find bun

dle for base
name com.jrefinery.chart.demo.resources.DemoResources,locale zh_CN

how can i slove the problem?

robert

Re: a error in compiling JFreeChartDemo

Post by robert » Wed Jun 26, 2002 11:05 am

check jcommon-0.6.1.jar in your lib directory.

David Gilbert

Re: a error in compiling JFreeChartDemo

Post by David Gilbert » Wed Jun 26, 2002 5:21 pm

The resource classes are loaded by name, not directly referred to in the code. So unless you compile them explicitly, the Java compiler won't create .class files for them. This is mentioned in the install documentation for 0.9.1.

Regards,

DG.

Locked