Did you have javax.comm.properties file in correct path? The general cause for
this type of
problem is that.
Graham Coppin <[EMAIL PROTECTED]>
05/24/2000 09:36 AM
To: Java-Linux <[EMAIL PROTECTED]>
cc: (bcc: Syam Kumar Abburi/SSC/THD)
Subject: Can Java find Serial Ports on Linux?
I'm running JDK 1.2.2 on Linux x86. I've downloaded the Solaris x86
Comm API and a driver someone wrote that makes the Comm API work on a
Linux box (this tip from the Comm API FAQ). Now I'm trying to get the
SimpleRead.java program that comes with the Comm API to run. But the
CommPortIdentifier.getPortIdentifiers() method comes back empty - i.e.
the Enumeration object (or whatever it's called, new to Java here) is
empty. Which means no comm objects detected. Uh oh.
Is there a simple way to determine if my serial port(s) have been set up
correctly in Linux? Is this a common problem (Serial Ports unavailable
to Comm API on Linux)? I'm not sure if this is a Linux set-up issue or
a Java issue or both.
I'd appreciate any advice.
Graham.
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]