Results 1 to 4 of 4
Thread: Adding API to a project
- 07-09-2009, 04:08 AM #1
Member
- Join Date
- Apr 2009
- Location
- Earth
- Posts
- 14
- Rep Power
- 0
Adding API to a project
In my project I need to use some API's (say, from facebook or twitter). I have downloaded their API's in .zip format. But the problem is that I got stuck because I don't get how to add them to my project. Some people refer to class paths, but still I don't get it. Could someone give me a hint?
- 07-09-2009, 05:09 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
You have to add the external libraries(API) in the class path first of all and then import them in your application. So where you stuck with? Adding libraries to the class path?
- 07-09-2009, 06:58 AM #3
Member
- Join Date
- Apr 2009
- Location
- Earth
- Posts
- 14
- Rep Power
- 0
Yes, adding libraries was the problem. Finally found out that I have to create "lib" folder in project directory and put API there, everything worked out.
Thanks a lot for you time and help!Last edited by Ypsilon IV; 07-09-2009 at 07:00 AM.
- 07-10-2009, 12:29 PM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Seems you are dealing with NetBeans. Actually most of the IDEs do all the classpath stuff and so on for you.
Similar Threads
-
Adding
By natep67 in forum New To JavaReplies: 2Last Post: 04-22-2009, 07:51 AM -
Adding property or config files to a project
By anacapa in forum EclipseReplies: 3Last Post: 02-03-2009, 07:34 PM -
Adding existing items to a project
By Katherine in forum EclipseReplies: 4Last Post: 01-20-2009, 04:23 AM -
open existing project project ..
By itaipee in forum EclipseReplies: 1Last Post: 12-28-2008, 08:12 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks