Thursday, November 30, 2006

NoSuchPortException Java

Ref
public class NoSuchPortExceptionextends java.lang.Exception

Thrown when a driver can't find the specified port.

Problem file is javax.comm.properties

# Implementation specific driver
driver=com.sun.comm.LinuxDriver

# Paths to server-side serial port devices
serpath0 = /dev/ttyS0
serpath1 = /dev/ttyS1

# Paths to server-side parallel port devices
parpath0 = /dev/parport0
parpath1 = /dev/parport1


No comments:

Post a Comment

Popular Posts