java - UnsatisfiedLinkError: gnu.io.RXTXPort.nativeSetLowLatency() -


i trying set low latency when using rxtx library, error getting while running under ubuntu/linux is:

unsatisfiedlinkerror: gnu.io.rxtxport.nativesetlowlatency()z 

it seems problem missing library seems me in place (all files (librxtxi2c.so, librxtxparallel.so, librxtxraw.so, librxtxserial.so) in jre/lib , jar in jre/lib/ext - rxtxcomm.jar)

any idea problem here?

instead of putting libraries directly jre, i'd recommend setting classpath , native library directory explicitly @ runtime. can with:

java -djava.library.path=<path-to-so-files> -classpath <your-jarfile>   mainclass 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -