Serial communication through COM ports are very common both in prototyping and industry. To be able to read / listen to COM ports on Java, Arudino or Processing you need to install the RxTx library. Follow the instruction to install Serial and Parallel communication installed on your Windows.
- unzip rxtx-*-win32.zip
- copy rxtxSerial.dll / rxtxParallel.dll to %JAVA_HOME%bin
(e.g. c:Program FilesJavaj2re1.4.1_01)
- copy RXTXcomm.jar to %JAVA_HOME%libext