• 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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?  
 
This is my favorite show. And this is my favorite tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic