Win a copy of Learn Java with Math: Using Fun Projects and Games this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

No Sqlite Library found

 
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting the same error. But looks like no one has answer to this query.
Did you find any solution?  
 
yeah, but ... what would PIE do? Especially concerning this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!