File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes No Sqlite Library found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "No Sqlite Library found" Watch "No Sqlite Library found" New topic
Author

No Sqlite Library found

Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 580
Sorry, it's me again
https://github.com/sjlombardo/sqlitejdbc


The library is compiled with encryption library attached.

The driver I compiled
http://www.mediafire.com/?dx7i8bfnxi52dkx

The unencrypted db file
http://www.mediafire.com/download/6vmswm54dwu4iy7/ICJB.sqlite

The encrypted file
http://www.mediafire.com/download/84qgrm5ucbt56t3/

But I am getting SQlite library not found error
Any hints?

Seems like the jar cannot locate the sqlitejdbc.dll, but where should I put it to?

Don't know why it doesn't pass the JUnit test


I've made 2 tweaks to the source code
1) Adding #define NO_CRYPT to SqlCipher where there is #include <windows.h>
2) Adding

to jni_md.h


Thanks
Jack
Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 580
I finally resolved it by downloading the prebuilt library from java2s.
But One thing funny is even though I don't supply a password
to open the encrypted database, it opens it up nevertheless.
How can I prevent that from happening?
Thanks
Jack
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No Sqlite Library found
 
Similar Threads
Hello, using Modified Makefile to compile SQLiteJDBC
Using Eclipse SWT Image, JDBC SQLite and JAVA to insert, store and retrieve Images.
problem with JNI( compiling .C file)
JNI error
"jni_md.h: No such file or directory"- Error Message while compiling C source code