wood burning stoves 2.0*
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
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: 41106
    
  45
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: 41106
    
  45
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
 
Similar Threads
Can not resolve symbol for bean class file in weblogic 6.0
Help with compiling AdviceClient.java
Error compiling SimpleTagSupport class
Generate combination charts using Java
How to link JFreeChart with JSP