aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes jfreeChart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "jfreeChart" Watch "jfreeChart" New topic
Author

jfreeChart

Marcus Senna
Greenhorn

Joined: Feb 22, 2007
Posts: 21
hey, i am trying to use jfreechart, but i am having problems with importing packages from the file i downloaded. I am using JBuilder 2005, and i am getting the following error.

cannot find symbol; symbol : class ChartFactory, location: package org.jfree.chart at line 3 (3:24)
import requires canonical name for <any> at line 3 (3:24)

Your help would be greatly appreciated. Thanks!!!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42916
    
  68
Please post the package and import statements from the offending class.
Marcus Senna
Greenhorn

Joined: Feb 22, 2007
Posts: 21
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42916
    
  68
How did you add the libraries to your classpath?
Marcus Senna
Greenhorn

Joined: Feb 22, 2007
Posts: 21
I was thinking that i was probably doing that wrong.

C:\jfreechart-1.0.4\lib\jfreechart-1.0.4.jar
I added this path to the classpath in environment variables.jfreechart-1.0.4.jar contains the folder org
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jfreeChart