Go to the Libraries/Add jar-folder and manually add the RXTXcomm.jar file make sure you type "import gnu.io.*"