Results 1 to 2 of 2
  1. #1
    artemff is offline Member
    Join Date
    Dec 2009
    Posts
    41
    Rep Power
    0

    Question Problems with packages...

    I haven't some packages in Java, is it possible download and add them? If yes, from where?

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    6

    Default

    usually, yes, it is possible to download them. There is no single repository of Java apckages extensions and add on API like PERL has for CPAN. there are some more recent efforts with maven repositories, but you would need to be into using maven build tool to take advantage of having these pulled down to your system, and thats a lot of things to grasp right away too.

    So for now, what package are you missing ? do a google search, it might come up with the name of the project that owns the package, for example, if my compiler sais it can't find "org.apache.commons.logging.Log" I do a search for this and find the apache jakarta commons-logging project, they have a web page with documents and a link to download a .jar file binary distribution (or sources too if I want), and then I can put this commons-logging.jar file into my classpath and am able to compile my stuff. or get on to the next error about the next missing package anyway..

Similar Threads

  1. packages
    By fogus in forum New To Java
    Replies: 1
    Last Post: 03-24-2009, 07:14 AM
  2. Replies: 3
    Last Post: 02-12-2008, 12:03 PM
  3. Using packages
    By prfalco in forum New To Java
    Replies: 5
    Last Post: 01-31-2008, 11:38 PM
  4. Problems with packages (import statements)
    By ai_2007 in forum Advanced Java
    Replies: 1
    Last Post: 06-29-2007, 12:57 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
  •