Question: how to add rxtxserial in java.library.path?
Answer: Right-click on SerialTest, select Properties->Java Build Path->Libraries. Click "Add External JARs" and navigate to the folder you unzipped your files to. ...  RXTXcomm. ...  Browse again to the folder where rxtxserial. ...  Hit OK to save your library changes.