Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

serial port access

  Asked By: Ruben    Date: Feb 08    Category: Java    Views: 1626

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 ?



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on serial port access Or get search suggestion and latest updates.