I am building an app to get NMEA GPS data, with serial port communication via RXTX. On my Mac it runs great. When I try to run it on my Rasp Pi, it throws the error:
no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver
On the Mac, I see that if I move /Library/Java/Extensions/librxtxSerial.jnilib it too throws the same error.
My question is: On my RasbPi, do I need to add this rxtxSerial file somewhere to a folder (perhaps within the JVM?), or should it be packaged up with the runnable jar when I export. Is my problem on my Mac, or on my RasbPi?
Thanks