Question: how to use rxtx in eclipse?
Answer: Copy RXTXcomm.jar, rxtxSerial.dll and rxtxParallel.dll files to the lib directory of your project.
Under Project | Properties | Java Build Path | Libraries.
click Add JARs... ... 
Select the RXTXComm.jar from lib directory.
Jar should now be in the Build Path.