Wednesday, September 17, 2008

BerkeleyDB with Java

This is assuming you are not running the pure BerkeleyDB Java edition
Make sure you rebuild BerkeleyDB with
../dist/configure --enable-java
must include /usr/local/BerkeleyDB/lib

If you do not rebuild you will get java.library.path errors even though is clearly installed. The BerkeleyDB guide is not very helpful in this regard. Why wouldn't Java access be enabled by default. It is very frustrating.

No comments:

Post a Comment