Results 1 to 5 of 5
  1. #1
    JohnnyR is offline Member
    Join Date
    Feb 2009
    Posts
    46
    Rep Power
    0

    Default ClassNotFoundException: org.sqlite.JDBC

    Hey all!

    I've been having some real problems in compiling my program into one executable JAR from with in Eclipse.

    The error in the title keeps occurring and I've searched and searched and we can't figure it out.

    I've updated the manifest to include Class-Path: sqlite.jar - etc but no dice!

    So far only way I've got it to run was to remove the sqlite jar from the program jar - put it in the saem directory and make a batch file with.

    java -cp GUI_LIB.jar;sqlitejdbc-v054.jar LIBStart

    ---

    Any ideas?

  2. #2
    JohnnyR is offline Member
    Join Date
    Feb 2009
    Posts
    46
    Rep Power
    0

    Default

    Another idea given to me was to create a JAR program that then executes my actual program JAR with the sqlite as well, but i've no idea how to do that!

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,425
    Rep Power
    20

    Default

    Since this has nothing to do with Swing/AWT, why did you post it here?

    db

  4. #4
    JohnnyR is offline Member
    Join Date
    Feb 2009
    Posts
    46
    Rep Power
    0

    Default

    Hmm...
    Good question....
    I was looking at one thing and doing another, My program is built in Swing so its all gui with that error occuring when accessing DB - can i get a mod to move it?

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,425
    Rep Power
    20

    Default

    I don't use Eclipse, but if I read your problem statement correctly, you are trying to access classes from a jar which is inside another jar. That can't be done (at least, not without some fancy extracting of the classes to a byte array and custom classloading...).

    db

Similar Threads

  1. Replies: 4
    Last Post: 03-31-2010, 01:08 PM
  2. Replies: 6
    Last Post: 02-19-2010, 02:57 PM
  3. netbeans and sqlite
    By witzode in forum NetBeans
    Replies: 1
    Last Post: 07-18-2008, 09:26 AM
  4. Replies: 0
    Last Post: 03-21-2008, 02:13 PM
  5. Replies: 1
    Last Post: 06-27-2007, 06: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
  •