Click here to Skip to main content
15,887,302 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to use java comm api for serial port communication, the IDE i am using is netbeans , but somehow i can't make it work and i keep getting this mistake:

Caught java.lang.UnsatisfiedLinkError: no Serial in java.library.path while loading driver gnu.io.RXTXCommDriver

Can anyone tell me how to fix it???
Thanks a lot...
Posted
Updated 31-Oct-11 23:23pm
v3

1 solution

Related with the drivers seems.

http://download.oracle.com/javase/1.4.2/docs/api/java/lang/UnsatisfiedLinkError.html[^]

As far as I know RXTX is crashing when the USB port was unplugged. Did you do something like that?

If so try with the Windows Java Serial Com Port Driver, specifically design for Windows users. I am using it because of the ease of use.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900