Results 1 to 3 of 3
- 12-02-2011, 01:55 AM #1
Member
- Join Date
- Aug 2011
- Posts
- 7
- Rep Power
- 0
How to use 3rd party classes in Eclipse
Hello,
I've been banging my head against the wall trying to figure out how to do this.
I've written a GUI program for my software engineering class, I would like to use the JFreeChart program within it. I have downloaded the software, but cannot figure out how or where to save it so I can access it from my eclipse project (With the exception of manually copying and pasting all of the classes into the package I am using).
I'm sure the process involves saving the files somewhere and using an import command.
I have the same question for just about every general class I have written. If I have a class that is a useful tool that I'd like to use in future programs, how do I save it in a general area that I can re-use it for all my future projects?
If you have suggested reading material regarding how the professionals organize their eclipse workspace, that'd be great too.
Thanks in advance for your help.
Chris
- 12-02-2011, 01:58 AM #2
Re: How to use 3rd party classes in Eclipse
This is Java forum not an Eclipse helpdesk. You would have better luck asking in an Eclipse forum. But you should go into the properties of your project and there should be an option to add a library.
- 12-02-2011, 08:40 AM #3
Re: How to use 3rd party classes in Eclipse
Open the Project Explorer (if it's not already open) by selecting Window > Show View > Project Explorer. Right-click your project and select Properties. Select Java Build Path on the left, and then select the Libraries tab on the right. Click the Add External JARs button. Select the jar you want to add to the project.
Get in the habit of using standard Java naming conventions!
Similar Threads
-
Preventing Eclipse from importing inner classes
By SFNYC in forum EclipseReplies: 0Last Post: 06-30-2011, 03:46 PM -
Birthday Party Code
By tonyfingures in forum New To JavaReplies: 10Last Post: 09-16-2010, 03:24 AM -
Third party packages
By logicbug in forum New To JavaReplies: 0Last Post: 03-23-2009, 03:05 PM -
Need to hook up my jsp code to third party vendor
By priya123 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 08-28-2008, 10:24 PM -
Short key for getting list of opened classes in Eclipse
By Java Tip in forum Java TipReplies: 0Last Post: 12-04-2007, 11:11 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks