Linux serial port communication using java and RXTX lib -


i create program communicate serial ports in linux, used netbeans ide , , added rxtx jar file , driver.

it working fine when run netbeans gives error when try run outside of netbeans.

error is:

driver not linked while loading drivers.

i put rxtx.jar in ext folder of jre , driver in bin folder

check ld_library_path environment variable pointing folder in have rxtx native libraries. can tell java use concrete folder library folder adding -djava.library.path=/path/to/my/dll parameter java invocation command line.


Comments

Popular posts from this blog

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -