Results 1 to 3 of 3
  1. #1
    jperson is offline Member
    Join Date
    Jan 2010
    Posts
    61
    Rep Power
    0

    Default external library problem

    hi,

    it's my first time to use eclise, i made a very simple app

    connection to db then retrieve data, my app is work good.

    i export the project into jar file on my desktop where i put the jdbc.jar

    but the program can't run, it can't see the jdbc.jar, please help ?

  2. #2
    pawdlk is offline Member
    Join Date
    May 2011
    Posts
    7
    Rep Power
    0

    Default

    Could you explain what are you trying to achieve and exact errors you get ? It will be easier to understand your problem if you provide as much details as possible.

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,006
    Rep Power
    20

    Default

    Depends how you've told Eclipse how to create the jar file.
    What does the MANIFEST in the jar file look like, because that'll tell you where it is expecting the jdbc.jar to be in realtion to your apps jar file.
    If there's no entry for the jdbc jar file then you'll need to tell Eclipse what to do with dependencies, which I can't remember how to do at the moment.

Similar Threads

  1. Problem with .jar iReport (library ?)
    By mine0926 in forum NetBeans
    Replies: 6
    Last Post: 11-27-2010, 12:55 AM
  2. Problem with running an external program via java
    By g123456 in forum New To Java
    Replies: 4
    Last Post: 12-30-2009, 05:06 PM
  3. External Jar Library
    By a13w in forum New To Java
    Replies: 5
    Last Post: 09-24-2009, 04:23 PM
  4. external library help
    By SIAS87 in forum Java Applets
    Replies: 0
    Last Post: 03-28-2009, 03:12 PM
  5. problem in loading library
    By rams in forum New To Java
    Replies: 0
    Last Post: 11-04-2008, 08:19 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
  •