ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sachin Pandey <>
Subject Problem loading System Library
Date Fri, 09 Nov 2001 07:39:03 GMT

  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}"
	<jvmarg value="-Djava.library.path=${library1.path}:${library2.path}">

Thanx in advance

Sachin Pandey
Nuix Pty Ltd
(61)(02) 92839010

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message