[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: how to call native library

PeterJ do-not-reply at jboss.com
Mon Apr 21 11:25:57 EDT 2008


By default, the JVM sets the java.library.path system property, which is uses to locate shared objects, to the LD_LIBRARY_PATH.  So as long as the LD_LIBRARY_PATH references the directory containing the .so file, you should be set.

If you install JBoss Native, check the run.sh script because at one time it set java.library.path to $JBOSS_HOME/bin/native. If that is still the case, you need to set java.library.path to $LD_LIBRARY_PATH:$JBOSS_HOME/bin/native.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145569#4145569

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145569



More information about the jboss-user mailing list