Hi, I'm developing a sensor application pretty similar to what Miguel runs. I stuck with RxTx closing. It works fine but I just can't close it. And what's interesting, it doesn't hang - it just keeps running. And there is a thing which confuses me the most - I can't find IOLocked! import java.io.; import gnu.io.; import java.util.*; public class SerialPortHandler { private SerialPort serialPort; ... my serialPort just doesn't have this parameter. And another trouble which I would be so happy to resolve - it takes soooo long to initialize the port - maybe 40 seconds or so. Miguel, how long does your port initialize? Did you have that problem at all?