Results 1 to 2 of 2
  1. #1
    EscSequenceAlpha is offline Senior Member
    Join Date
    Apr 2012
    Posts
    115
    Rep Power
    0

    Default How do I import foreign packages to eclipse?

    lets say I want to use something like org.joda.time.*

    looks like a reverse domain, can eclipse use this to discern its location online then automatically download and apply it to the class path (that would be convenient!), or must I download a file and then manually add it to the class path and if so how would I do that?

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default Re: How do I import foreign packages to eclipse?

    You first need to get the jar file and download it to your computer, you then need to tell Eclipse to include this external Jar file in its build path (right click on the current project and wend through the menus to find this), and only then can you import the classes that you want to use.

Similar Threads

  1. Import packages in JSP
    By drw4d in forum New To Java
    Replies: 1
    Last Post: 09-29-2011, 10:11 AM
  2. confused about packages and import
    By nttaylor in forum New To Java
    Replies: 7
    Last Post: 12-14-2009, 05:55 AM
  3. still confused about packages and import
    By nttaylor in forum New To Java
    Replies: 1
    Last Post: 12-13-2009, 10:27 PM
  4. import packages
    By gregorio99 in forum New To Java
    Replies: 3
    Last Post: 11-06-2009, 12:43 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
  •