Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jfreeChart

 
Marcus Senna
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post the package and import statements from the offending class.
 
Marcus Senna
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did you add the libraries to your classpath?
 
Marcus Senna
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic