aspose file tools*
The moose likes Other Java Products and Servers and the fly likes JFreeChart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "JFreeChart" Watch "JFreeChart" New topic
Author

JFreeChart

Pendurthi prashanth
Greenhorn

Joined: Sep 13, 2005
Posts: 15
Hai there..

Recently I've required to give graphical stats of our companys production. I've found JFreeChart and downloaded it. I'm trying to show it in an applet. The compiling is out without error. But when I run it Its not able to find a class definition. How come this. Dos'nt the compiler check before compiling wether the class exists or not. I've even checked the jar file. Its there what should I do... Is there any policy included with JApplets..

>javac Gantt.java

>appletviewer Gantt.java
java.lang.NoClassDefFoundError: org/jfree/data/gantt/GanttCategoryDataset
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)
at java.lang.Class.getConstructor0(Class.java:1748)
at java.lang.Class.newInstance0(Class.java:266)
at java.lang.Class.newInstance(Class.java:249)
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)


Thanks 4 every1 in advance

Presi
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41884
    
  63
Its there

And where is that? How does the HTML page reference the jar file?


Ping & DNS - my free Android networking tools app
Pendurthi prashanth
Greenhorn

Joined: Sep 13, 2005
Posts: 15
>>And where is that? How does the HTML page reference the jar file?

Ahhh...

Thanks Ulf.. I did'nt specify the archive.

I'll try again...
 
Consider Paul's rocket mass heater.
 
subject: JFreeChart