Hi,
Just wanted to know if it is possible to set the java.library.path in Ant
build Scripts. Even after setting the java.library.path as an jvmarg i get a
UnSatisfiedLinkError. The Library i am trying to load through Java ,
internally loads other library and thats when it fails. These two libraries
are in two different directories.
If i set the LD_LIBRARY_PATH Environment variable and include the two
directories things work fine . I want to do it through build script. And
since i am using the Java target, i can't specify the environment variable.
<java classname="${client.class}"
fork="true">
<jvmarg value="-Djava.library.path=${library1.path}:${library2.path}">
</java>
Thanx in advance
Sachin Pandey
Nuix Pty Ltd
(61)(02) 92839010
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|