Results 1 to 7 of 7
- 08-06-2011, 04:53 PM #1
Package org.jfree.chart does not exit.
HI,
Have a nice day.
JFreeChart: Bar Chart Demo : Bar Chart*«*Chart*«*Java
I DOWNLOADED THE BARCHARTDEMO.JAVA FROM THIS LINK
C:\Documents and Settings\vicky\My Documents\NetBeansProjects\jfreechart-1.0.0-rc1
I SAVED THE PROGRAM IN THIS LOCATION.
I am using NetBeans IDE 6.8
The red line denotes incorrect package package org.jfree.chart.demo;
Help me correct my error.Error: Package org.jfree.chart does not exit.
Wirh regards and respects,
Nandhini.
-
Have you downloaded the JFreeChart libraries? If so, and if you are using NetBeans, have you set NetBeans to use the JFreeChart libraries in its build path? If not, you should go to the NetBeans help sites to find out how to do this.
- 08-06-2011, 07:01 PM #3
Hi,
Thank you.
I set the JFreeChart libraries in NetBeans build path as you said.
Just i copied the JFreeChart libraries in this path.
C:\Program Files\Java\jdk1.6.0_21\jre\lib
Then, the program does not show any error.
Now.the program is running successfully
Run Project:
With Regards and respects,One or more projects were compiled with errors.
Application you are running may end unexpectedly.
May i know why java source package (org.jfree.chart.annotations.junit) contains files with error.
Nandhini.
-
Don't put your JFreeChart files into the java directories, but instead leave them in their own directories and set NetBeans to recognize those files as needing to be on its build path. As for your current error, you really don't give enough information to be able to help you (at least not for me).
- 08-06-2011, 08:46 PM #5
Thank you.
- 08-07-2011, 07:55 AM #6
Member
- Join Date
- Aug 2011
- Posts
- 7
- Rep Power
- 0
- 08-10-2011, 09:11 AM #7
Member
- Join Date
- Aug 2011
- Posts
- 21
- Rep Power
- 0
What now?
I've downloaded the latest version:
JFreeChart - Browse /2. Documentation/1.0.13 at SourceForge.net
There's 'Configuring IDEs for JFreeChart' chapter on page 27. (NetBeans)
I've added both JCommon and JFreeChart directories to library claasspaths.
Than made a new project, added those 2 libraries in the project, and typed the example code from page 29.
Even tried Source>Fix Imports afterwards, as manual suggested. Still can't get it to work.
What should I do?
Similar Threads
-
JFree chart Exception
By BerilChandra in forum AWT / SwingReplies: 1Last Post: 04-01-2011, 02:51 PM -
jsp and jfree charts
By asad.naqvi in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 12-22-2010, 01:21 PM -
using thermometer plot in jfree
By nitish_coder in forum New To JavaReplies: 1Last Post: 10-07-2009, 06:31 PM -
Demo bar chart and pie chart
By Java Tip in forum java.awtReplies: 0Last Post: 06-23-2008, 11:22 PM -
How to draw a bar graph using Jfree
By sacr83 in forum Java 2DReplies: 0Last Post: 04-30-2008, 08:50 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks