Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.library.path libdb_java44

558541Jan 27 2007 — edited Jan 27 2007
Hi,
I posted this to the 'Berkeley DB Java Edition'-Forum, but people there told me that my message should be posted in this forum.
So here it is:



I use a Berkeley DB jar-file in my project to run a Berkeley DB Java Edition.

Unfortunately on the homepage only 'Berkeley DB Java Edition' 3.2 is available.
But I need version 4.4.
I was able to download version 4.4 with a linux package-manager, and I builded the
jar-file for version 4.4 on the linux machine.

Back on my windows machine, I just included the jar file(4.4) in my project. So I can
use now version 4.4 of 'Berkeley DB Java Edition' in my project on my windows
machine.
Unfortunately I get this error:


Exception in thread "main" java.lang.UnsatisfiedLinkError: no libdb_java44 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at com.sleepycat.db.internal.db_javaJNI.<clinit>(db_javaJNI.java:35)
at com.sleepycat.db.internal.Db.<init>(Db.java:232)
at com.sleepycat.db.DatabaseConfig.createDatabase(DatabaseConfig.java:457)
...


Can anyone help??
I have no idea where this file should be. Probably I dont have it because I builded
the jar file on the linux machine? So I guess I need to build the jar file (4.4) on
my windows machine, but I can only find version 3.2 on the net.


Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 24 2007
Added on Jan 27 2007
2 comments
2,374 views