Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

unable to find JDBC driver

843859Sep 14 2007 — edited Nov 20 2014
I'm writing a java program and I try to connect it with a SQLite DB. So I've downloaded a SQLite Java Wrapper/JDBC Driver (http://www.ch-werner.de/javasqlite/index.html)
I successfully installed the source tarball.
when I compile my file, the following error occurs (import SQLite.JDBCDriver):

init:
deps-jar
Compiling 1 source file to /media/sda1/Documents and Settings/Dennis Berten/Bureaublad/DBS/build/classes
/media/sda1/Documents and Settings/Dennis Berten/Bureaublad/DBS/src/model/SQLiteConnection.java:18: package SQLite does not exist
import SQLite.JDBCDriver;
1 error
BUILD FAILED (total time: 0 seconds)

It can't find the package SQLite. So I've copied the whole map (the unzipped and installed wrapper) into ~/model/...Netbeans returns the same error message.
Weird, because the map contains a file SQLite with SQLiteConnection.java within it.

I'm using Netbeans 5.5 the OS I'm using is Kubuntu 7.04 (linux).
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 13 2007
Added on Sep 14 2007
4 comments
369 views