aspose file tools*
The moose likes JDBC and the fly likes Running a jar file with SQLite Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Running a jar file with SQLite" Watch "Running a jar file with SQLite" New topic
Author

Running a jar file with SQLite

Brendan Crisler
Greenhorn

Joined: Feb 07, 2007
Posts: 19
Hello,

I'm trying to run a jar file that accesses a database using the sqlite.jar file. How do I run the jar file so that I don't get the following errors:

java.lang.ClassNotFoundException: org.sqlite.JDBC
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at StkClient.go(StkClient.java:29)
at StkClient.main(StkClient.java:21)

Thanks,
B
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running a jar file with SQLite