
I am getting an error when i am using jfreechart for graph generation, that is:
D:\my\linechart.java:5: package org.jfree.chart does not exist
import org.jfree.chart.*;
what is the reason and possible solution to the problem.

Hello Friend,
Please visit the following link and download the jfreechart api:
http://www.brothersoft.com/jfreechart-download-15712.html
Then extract the api and put the jcommon-1.0.16.jar and jfreechart-1.0.13.jar into the lib folder of jdk and /lib/ext folder of jre. Restart the compiler and compile the code.
Thanks