Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-09-2009, 05:08 AM
Member
 
Join Date: Apr 2009
Location: Earth
Posts: 12
Rep Power: 0
Ypsilon IV is on a distinguished road
Default 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?
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 07-09-2009, 06:09 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 7,256
Rep Power: 11
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
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?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Someone helped you? their helpful post.
Help:Forums FAQ|How To Ask Questions The Smart WayResources:The Java Tutorials|Glossary for Java|NetBeans IDE|Sun DownloadsWeb:WritOnceTips:Is your IDE the best?|Which Application Server?
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-09-2009, 07:58 AM
Member
 
Join Date: Apr 2009
Location: Earth
Posts: 12
Rep Power: 0
Ypsilon IV is on a distinguished road
Default
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 08:00 AM.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 07-10-2009, 01:29 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 7,256
Rep Power: 11
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
Seems you are dealing with NetBeans. Actually most of the IDEs do all the classpath stuff and so on for you.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Someone helped you? their helpful post.
Help:Forums FAQ|How To Ask Questions The Smart WayResources:The Java Tutorials|Glossary for Java|NetBeans IDE|Sun DownloadsWeb:WritOnceTips:Is your IDE the best?|Which Application Server?
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding natep67 New To Java 2 04-22-2009 08:51 AM
Adding property or config files to a project anacapa Eclipse 3 02-03-2009 08:34 PM
Adding existing items to a project Katherine Eclipse 4 01-20-2009 05:23 AM
open existing project project .. itaipee Eclipse 1 12-28-2008 09:12 PM
Converting an existing project to an EclipseME project JavaForums Java Blogs 0 06-23-2008 10:41 AM


All times are GMT +2. The time now is 07:19 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org