[izpack-users] 3.8.1: Custom Actions - Ant: Native dlls not available in java library path

René Krell rkrell at gk-software.com
Tue Jun 13 15:32:03 CEST 2006


On launching my self compiled installation jar, I get 
an "java.lang.UnsatisfiedLinkError: no win32jni in java.library.path" (see: 
stacktrace.log) when launching a custom Ant install action, even though I 
declared the appropriate DLL in my install.xml:

  <native type="3rdparty" name="win32jni.dll"/>

Questions:
1. Is it possible to use links to native libraries from custom Ant actions at 
all?
2a. Where is the right place to declare them (if I need them only at install 
time)?
3b. or ... How can I set the according properties probably needed for this and 
given to the Ant launcher as -Djava.library.path (and user variables, as 
LD_LIBRARY_PATH)? Are they set automatically by the installer?

Thanks,
René


-------------- next part --------------
A non-text attachment was scrubbed...
Name: stacktrace.log
Type: text/x-log
Size: 2347 bytes
Desc: not available
Url : https://lists.berlios.de/pipermail/izpack-users/attachments/20060613/3403b9f5/attachment.bin 


More information about the izpack-users mailing list