Results 1 to 4 of 4
  1. #1
    Ypsilon IV is offline Member
    Join Date
    Apr 2009
    Location
    Earth
    Posts
    14
    Rep Power
    0

    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?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    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?

  3. #3
    Ypsilon IV is offline Member
    Join Date
    Apr 2009
    Location
    Earth
    Posts
    14
    Rep Power
    0

    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.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Adding
    By natep67 in forum New To Java
    Replies: 2
    Last Post: 04-22-2009, 08:51 AM
  2. Adding property or config files to a project
    By anacapa in forum Eclipse
    Replies: 3
    Last Post: 02-03-2009, 08:34 PM
  3. Adding existing items to a project
    By Katherine in forum Eclipse
    Replies: 4
    Last Post: 01-20-2009, 05:23 AM
  4. open existing project project ..
    By itaipee in forum Eclipse
    Replies: 1
    Last Post: 12-28-2008, 09:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •