title: Serial Port Communication Using Java & RXTX in Eclipse
body: <p>To write an java application to communicate with serial port devices on windows environment , browsed in google seem to be divert to many directions also fond some of the third party tools library like <a href="http://codeglobe.blogspot.in/2009/02/serial-port-communication-in-java.html" rel="nofollow">RXTX</a>   <a href="http://www.java-samples.com/showtutorial.php?tutorialid=11" rel="nofollow">JavaComm</a>. On trying with RXTX sample codes using eclipse <a href="http://code.google.com/p/museum-multimedia-solution/wiki/RxTx" rel="nofollow">Reference</a>.</p>
  
  <p>No serial ports were displayed in output just blank </p>
  
  <p>Output :</p>
  
  <blockquote>
    <p>Stable Library</p>
    
    <p>Native lib Version = RXTX-2.1-7 </p>
    
    <p>Java lib Version = RXTX-2.1-7</p>
  </blockquote>
  
  <p>What mistake  i have did ?</p>
  
  <p>Let me know that is this approach is the better or suggest me better solution ? </p>
  
  <p>Kindly let me know the alternatives for this problem , i wanna communicate with device via serial port using java, the data will be sent from the device  and it should be written to the files. </p>
  
  <p>Thanks in advance </p>