Java app loads JNI differently when started via Ant
I'm using RXTX in my Java application which includes a JNI library. I placed the .jni file in /Libray/Java/Extensions. When I start my application manually via the usual java -jar /path/to/app.jar everything works fine. However when I try to start it via Netbeans or Ant it fails with [java] java.lang.UnsatisfiedLinkError: /Library/Jav...