
Beginners guide to installing?
Beginners guide to installing?
Hi. Uh, i'm really new to both jfree, and installing packages in general. I use JCreator, and I usually don't have to define any classpaths. If I'm going to install the jfree graph package do I have to set any classpaths? Or is there a main file I can comple in my JCreator editor, so it sets the classpath automaticly? If not, how do I do this? I've tried to search in this forum to get any help, but you all seems so clever that you don't need to ask this type of question... 

I don't actually use JCreator but as an IDE i think you should be able to do something similar to this:
download the jfreechart zip file and extract that to a directory. That will give you the jar files you need.
In JCreator start a new project and then probably go to its properties and find where it mentions libraries. Then all you need to do is add the jar files and this will put them on your classpath for that JCreator project.
Hope that helps.
PS. you shouldn't need to compile the source if you aren't changing it.
download the jfreechart zip file and extract that to a directory. That will give you the jar files you need.
In JCreator start a new project and then probably go to its properties and find where it mentions libraries. Then all you need to do is add the jar files and this will put them on your classpath for that JCreator project.
Hope that helps.
PS. you shouldn't need to compile the source if you aren't changing it.
Hmmm. But to use the package, do I have to set any classpaths? If I place the jfreechart-1.0.0-pre2 folder in the same place I've placed the other packages I've downloaded, my program still doesn't find the package i want to use. Do I have to do anything else than extracting the zip file to use the package?
You need to learn the basics of how to compile a Java application and therefore how to add classes to your classpath:
http://java.sun.com/docs/books/tutorial ... index.html
You always have to add your classes to the classpath of your project. To use those classes in your application, you need to import them via the import statement. This is very basic Java stuff.
http://java.sun.com/docs/books/tutorial ... index.html
You always have to add your classes to the classpath of your project. To use those classes in your application, you need to import them via the import statement. This is very basic Java stuff.
Java 11, JFreeChart 1.0.15, JFreeSVG 4.0