i loaded the class paths for the jar files (set classpath variable under control panel, win2k and also CLASSPATH in autoexec.bat). I can compile but get this message when trying to run the applet
java.lang.NoClassDefFoundError: Axis (wrong name: com/jrefinery/chart/Axis)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:1
3)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:148)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
at sun.applet.AppletPanel.run(AppletPanel.java:290)
at java.lang.Thread.run(Thread.java:536)
HELP! thanks...
Dinesh
Execution problem
Re: Execution problem
You'll need to add the jfreechart-0.9.4.jar file is on your classpath, because it isn't there right now.
Regards,
Dave Gilbert
Regards,
Dave Gilbert
Re: Execution problem
That's what I thought, the problem is I've tried setting the classpath several times. I'm running 2 copies of win2k adv server on 2 separate drives(i have multiple j2sdk development kits, could this be a problem?). I've tried setting the environment classpath variable as a user variable as well as an environment varable (not both at once). I've also put it into my autoexec.bat, the standard java jars are loading up fine by the way. do the jars have to be in a specefic file structure? or do they just need to be in the place the classpath variable defines it? I've been having this same problem trying to load other third party charting packages (Jsci and Oracle Chartbuilder 1.0). There must be something I'm not doing right, thanks for any suggestions!
Dinesh
Dinesh
Re: Execution problem
I am also having the same problem.Its getting only in pie chart.I was able to run the category chart.