NCL Community Forum Index
  Home   Login   Register   Help   Memberlist   Search   NCL  

NCL Community Forum Index » SwiftNote (SMSJDK) Support » "PortInUseException" or "No such serial port&
Post new topic  Reply to topic View previous topic :: View next topic 
"PortInUseException" or "No such serial port&
PostPosted: Wed Jun 22, 2005 9:46 am Reply with quote
Administrator
Site Admin
Joined: 11 Aug 2004
Posts: 237




This error can occur if the platform you are installing does not have serial port support.

Windows
To add serial comms support on Windows, download and install the Java Communications API from SUN at http://java.sun.com/products/javacomm. Please follow the instructions carefully. Both a Java library AND a native library need to be installed as part of the JRE.

Check list
  • Install the Win32com.dll
  • Install the javax.comm.properties
  • Install the comm.jar


Note the error "PortInUseException" usually means that the jar library has not been installed, whereas the "No such serial port" can sometimes indicate that the Native library has not been installed.

Linux
To add serial comms support on Linux, download and install the Java Communications API from RXTX at http://www.rxtx.org. Use the For use without Sun's CommAPI (namespace gnu.io) libraries. Please follow the instructions carefully. (You will need to setup uucp group access to allow your application lock the port).
View user's profile Send private message

"PortInUseException" or "No such serial port&
 NCL Community Forum Index » SwiftNote (SMSJDK) Support
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic