ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Setting environment for forked java process on Win XP
Date Tue, 03 Dec 2002 17:59:16 GMT

----- Original Message -----
From: "Michael Kuß" <mkuss@asdis.de>
To: <ant-user@jakarta.apache.org>
Sent: Tuesday, December 03, 2002 3:08 AM
Subject: Setting environment for forked java process on Win XP


> hi,
>
> I try to start a java task from ant 1.5.1 on Windows XP.
>
> <java classname="foo.bar" fork="yes">
>
> The Problem is that I need a dll (DLL1) to call some JNI stuff.
> This dll needs another dll (DLL2) not located in the PATH environment.

modify your code to use LoadLibraryEx() and all you need to do is set the
java.library.path. Easier said than done, though.

> <sysproperty key="java.library.path"
> path="${java.library.path}:${rundir}/Client/lib"/>
>



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message