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

    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
    Rep Power

    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
    Colombo, Sri Lanka
    Blog Entries
    Rep Power

Similar Threads

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