[bdbxml] no db_java-4.3 in java.library.path

Dewitte Rémi <[email protected]>
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
Hello,
I'm getting started with BDBXML but i can't launch examples :

Exception in thread "main" java.lang.UnsatisfiedLinkError: no db_java-4.3 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:48)
        at com.sleepycat.db.internal.DbEnv.<init>(DbEnv.java:200)
        at 
com.sleepycat.db.EnvironmentConfig.createEnvironment(EnvironmentConfig.java:738)
        at 
com.sleepycat.db.EnvironmentConfig.openEnvironment(EnvironmentConfig.java:691)
        at com.sleepycat.db.Environment.<init>(Environment.java:30)
        at myDbEnv.<init>(myDbEnv.java:39)
        at simpleAdd.main(simpleAdd.java:70)

I tried with:
export 
CLASSPATH=~/dbxml-2.1.8/install/lib/db.jar:~/dbxml-2.1.8/install/lib/dbxml.jar:.:~/dbxml-2.1.8/install/lib/libdb_java-4.3.so
java simpleAdd

Thanks for your help


------------------------------------------
To remove yourself from this list, send an
email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.