no libdb_java43 in java.library.path

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

no libdb_java43 in java.library.path

unisons
I try to use Berkley DB XML.
But I face this problem. "no libdb_java43 in java.library.path"
How do I manage this problem?

any suggestion?



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: no libdb_java43 in java.library.path

Erik Bruchez
Administrator
This seems to say that there is a missing native library for Berkeley
DB. My suggestion would be to ask on the Berkeley DB XML mailing-list!

-Erik

[hidden email] wrote:
> I try to use Berkley DB XML.
> But I face this problem. "no libdb_java43 in java.library.path"
> How do I manage this problem?
>
> any suggestion?

--
Orbeon Forms - XForms Everywhere
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: no libdb_java43 in java.library.path

Pascal Heus
In reply to this post by unisons
From http://www.oracle.com/technology/products/berkeley-db/faq/xml_faq.html

How do I solve an unsatisfied link error when using DB XML's Java API?

Often, DB XML's Java users come up with an issue like this: java.lang.UnsatisfiedLinkError: no libdb_java43 in java.library.path This occurs because DB XML is written in C++, and needs quite a few different native shared libraries (or DLLs on windows) in order to work. In order to solve this problem, you should add the directory containing this shared libraries (or DLLs) to the java.library.path property. One way to do this is to use the "-D" flag when invoking the "java" command, for example: java -Djava.library.path="/home/jpcs/dbxml-2.2.8/install/lib/" MyClass When this doesn't work or is not possible (ie: using Tomcat), adding the library directory to the LD_LIBRARY_PATH (linux), DYLD_LIBRARY_PATH (OS X), or PATH (windows) environment variable should allow the JVM to find the correct libraries.

Under Windows, the .msi installer will add this for you to the PATH variable. You may however need a reboot before it becomes active.
*P

[hidden email] wrote:
I try to use Berkley DB XML.
But I face this problem. "no libdb_java43 in java.library.path" 
How do I manage this problem?

any suggestion?

  

-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws