This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 42370
    
  64
Please post the package and import statements from the offending class.


Ping & DNS - my free Android networking tools app
Marcus Senna
Greenhorn

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

Joined: Mar 22, 2005
Posts: 42370
    
  64
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