PDA

View Full Version : Setting javalibrarypath in webMethods


Dinia Manuel
07-19-2002, 14:24
In Unix, when I run a java program that calls a native function, I do the following:
java -Djava.library.path=/path/libnative.so javapgm

In webMethods, where do I set -Djava.library.path?

I have tried setting the following but it does not work:
export LD_LIBRARY_PATH=/path/libnative.so
export CLASSPATH=/path/javapgm.jar

Any idea?

greg
07-22-2002, 12:26
If you are using an adapter, go to the adapter_config tool and choose the 'Java' tab. Put your -D options in the field labeled JVM options.


-greg

fx brun
07-30-2002, 09:17
export LD_LIBRARY_PATH=$WMPATH/lib
export LIBPATH=$WMPATH/lib