Search code examples
javaberkeley-db

Is it possible to access a BDB from pure Java?


I'm trying to access "cert8.db" mozilla file which is a BDB database. I know that there are bindings for languages, Java among them, but I'm trying to build a multiplatform app so I think that using JNI such as this one would be a problem.

Thanks in advance.


Solution

  • You don't need full BDB package to read that file. Check out this class,

    http://sam.nipl.net/code/mindterm/com/mindbright/bdb/DBHash.java