I want to access PC serial port using Java.
I've read and tried javax.comm API and examples, and seem successful when
compiling. But when I run the class file, i always get message that say
that the serial ports are not available, in fact there are not any devices
connected to my computer serial ports (COM1 and COM2).
My OS is Windows XP and I know that XP/NT restrict the direct access to
port. I've handled that problem using userport program.
I try to access serial port using assembly language and work perfect.
But why in Java, seem there is no serial port?
anyone ever experience same problem ?
is there a way to win the serial port that is being used by other
application ?