This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes Running a jar file with SQLite Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply 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
 
Similar Threads
Netscape 6.2 configure with client jar files
xxxx.jar seen as xxxx.zip on desktop and won't run
security exception while executing jar
class not found exception
How to access DB from Applet?