Results 1 to 3 of 3
  1. #1
    Manfizy's Avatar
    Manfizy is offline Senior Member
    Join Date
    Nov 2008
    Location
    Germany
    Posts
    193
    Rep Power
    6

    Post How to load new libraries

    Hi pple,
    I downloaded the jfreechart library tool.Am trying to add a new library to my project but its not workin.I can see the library in the list but when i try to import a package associated wit the library its not seen.
    Anybody with an idea on how to go aboutt it?
    your response will be higly appreciated

  2. #2
    wolfcro is offline Member
    Join Date
    Feb 2009
    Location
    Italy
    Posts
    51
    Rep Power
    0

    Default add library to build path

    you have to add the library to the project build path (or classpath).

    in Netbeans you have to go to the Properties of your project and in the Libraries tab you can add it with Add Library or Add JAR.

    in Eclipse you have to go to Configure build path of your project or something like that.

    without an IDE you have to add the jar with the java -cp or -classpath option:
    java -cp some.jar MyMain

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

Similar Threads

  1. Reading Libraries.
    By leiferouis in forum New To Java
    Replies: 4
    Last Post: 02-07-2009, 08:34 PM
  2. Accessing libraries in Eclipse
    By JL4 in forum New To Java
    Replies: 0
    Last Post: 12-26-2008, 03:11 PM
  3. digital sign libraries
    By Shuru in forum Advanced Java
    Replies: 4
    Last Post: 11-07-2008, 08:01 AM
  4. ERROR: Can't find dependent libraries
    By baltimore in forum Advanced Java
    Replies: 1
    Last Post: 08-07-2007, 06:37 AM
  5. PoJoe Component Libraries 1.1
    By levent in forum Java Software
    Replies: 0
    Last Post: 06-08-2007, 10:23 AM

Posting Permissions

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