rxtx

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...

RxTx is continually polling my device!

Hey Guys, Having a few issues with RxTx (still!). I'm using RxTx to control a USB->Serial bridge device that opens a cash drawer for my POS system. When a user enters their clerk number and logs into the system, RxTx opens up the connection to the bridge using the following code: try { portID = (CommPortIdentifier) CommPortIdentifi...