This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes UnsatisfiedLink Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "UnsatisfiedLink Error" Watch "UnsatisfiedLink Error" New topic

UnsatisfiedLink Error

ketandba shah

Joined: Feb 05, 2005
Posts: 22
i am developing web application using java.
i am using ant builder for build the java project.
i am creating .ear file through ant build.xml and deploy this .ear file on jboss application server.
for running some java program i have to use shared at run time i have to pass
java.library.path = path/of/shared/lib/
this is shared library and it resides on linux server where jboss is installed.
After deploying .ear file on jboss server..
when end-user running this application through browser(from windows operating system), how pass the
java -Djava.library.path for getting shared library...

otherwise program terminated with
Exception in thread "main" java.lang.UnsatisfiedLinkError: no db_java-4.3 in java.library.path

while generating .ear file through ant builder..
i am just compile the classs which includes .jar file in classpath.

if i run the program on linux server by giving command
java -Djava.library.path=path/of/shared lib/ programName.class it works
Is any setting on jboss server..or where to put shared library on jboss directory structure...
pl. guide me...
Thanks in advanced..

Joe Ess

Joined: Oct 29, 2001
Posts: 9072

posted and discussed elsewhere

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: UnsatisfiedLink Error