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

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -