I want to use the eclipse to generate some charts by using the JFreechart
but I don't know how to install the subassembly
please tell me how to???
Help!how to install JFreechart on the eclipse environment
-
- Posts: 13
- Joined: Fri Feb 09, 2007 12:39 am
- Location: California, USA
1. place jfreechart jars somewhere on your hard drive (i placed mine in C:\Eclipse\ext_libraries)
2. Open Eclipse.
3. Start a new Java project like you normally would.
4. In the Package Explorer, right click your project and then click "Properties"
5. In the window that comes up, click the "Libraries" tab
6. Click "Add External JARs..."
7. Navigate to the folder you created, and highlight jcommon-1.0.x.jar (which ever version you have).
8. Click "Open"; this will add that jar to the list of external libraries.
9. Repeat 6-8 for jfreechart-1.0.x.jar and jfreechart-1.0.x-experimental.jar (if you want to use the experimental features)
10. You should now have access to the vast array of types, methods, objects, etc. that JFreeCharts provides; you'll of course, need to add "import org.jfree.chart.CLASS_YOU_WANT" to use them, but you should be able to copy and paste various samples available on the Net directly into Eclipse with little modification.
2. Open Eclipse.
3. Start a new Java project like you normally would.
4. In the Package Explorer, right click your project and then click "Properties"
5. In the window that comes up, click the "Libraries" tab
6. Click "Add External JARs..."
7. Navigate to the folder you created, and highlight jcommon-1.0.x.jar (which ever version you have).
8. Click "Open"; this will add that jar to the list of external libraries.
9. Repeat 6-8 for jfreechart-1.0.x.jar and jfreechart-1.0.x-experimental.jar (if you want to use the experimental features)
10. You should now have access to the vast array of types, methods, objects, etc. that JFreeCharts provides; you'll of course, need to add "import org.jfree.chart.CLASS_YOU_WANT" to use them, but you should be able to copy and paste various samples available on the Net directly into Eclipse with little modification.
Have you hugged your computer geek today?
The above steps are basic steps to eclipse.mentalsandcastles wrote:1. place jfreechart jars somewhere on your hard drive (i placed mine in C:\Eclipse\ext_libraries)
2. Open Eclipse.
. . .
9. Repeat 6-8 for jfreechart-1.0.x.jar and jfreechart-1.0.x-experimental.jar (if you want to use the experimental features)
In step 9 you might add the jfreechart-swt jar if you want to use it in a true eclipse app.
-scar