NetBean6.0 and sqlilite3

T

tompelka

Hello everyone,
i'm trying to connect sqlite3 (3.4.2-2) database wit JDBC driver
(http://www.ch-werner.de/javasqlite/overview-summary.html) from
NetBeans6.0beta1.

java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)

I'll shortly describe my situation:
1) Compiling and instal the JDBC driver.
2) NetBeans -> Services -> Database -> New Driver -> fill in:
* Driver Files as /usr/local/share/java/sqlite.jar.
* Find (correctli found SQLite.JDBCDriver).
* Name: SQLite.JDBCDriver.
* OK.
3) New Database connection, fill in:
* Name: i chose SQLiteJDBCDriver from menu.
* Database URL:
jdbc:sqlite://home/tom/NetBeansProjects/energieSuite/database/
energieData.db
* And here is the error message:
"Unable to add connection. Cannot enstabilishe connection to
jdbc:sqlite://home/tom/NetBeansProjects/energieSuite/database/
energieData.db
using SQLite JDBCDriver (java.lang.UnsatisfiedLinkError:
SQLite.Database._open(Ljava/lang/String;l)V)."

Cann somebody help me, what i am doing wrong?
Is somewhere NetBeans package for SQLite support, or 100% working
sqlite.jar?
Or cann somebody advice me other file-based database, with better
support?

Thanks to all.

-- Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top