Can a Berkeley DB database be used by Berkeley DB Java Edition?
We’ve had a few questions about whether data files can be shared between Berkeley DB and Berkeley DB Java Edition. The answer is that the on disk format is different for the two products, and data files cannot be shared between the two. Both products do share the same format for the data dump and load utilities (com.sleepycat.je.util.DbDump, com.sleepycat.je.util.DbLoad), so you can import and export data between the two products. Also, JE data files are platform independent, and can be moved from one machine to another. Lastly, both products both support the Direct Persistence Layer API, the persistent Java Collections API and a similar byte array based API.