Please note that there are three different products.
- Berkeley DB - Implementation C
- Berkeley DB Java Edition
- Berkeley DB XML
see Wikipedia
It is true that Berkeley DB and Berkeley DB Java Edition have a different (that is, incompatible) file format. However, Berkeley DB provides the Java API through the JNI. Thus, you can access the data file written by the C implementation from Java, but not the Berkeley DB Java Edition.
source share