I should add that after reviewing posts on this topic, I found that the
file javax.comm.properties was in the c:\jre1.5.0_06\lib directory on
my desktop but absent on my laptop...this must be the problem, right?
I copied the file over, rebooted, and the problem persists.
Does anyone know whether I need to install the fullblown Java SDK
rather than just the skeleton JRE?
> I have some code (in an OSGi bundle) which uses aCommPortIdentifier
> object to enumerate the available COM ports on a Windows XP system
[quoted text clipped - 10 lines]
> machine in the past. One day the behavior changed and I can't figure
> out why...any suggestions would be greatly appreciated.
Knute Johnson - 09 Nov 2006 16:54 GMT
> I should add that after reviewing posts on this topic, I found that the
> file javax.comm.properties was in the c:\jre1.5.0_06\lib directory on
[quoted text clipped - 17 lines]
>> machine in the past. One day the behavior changed and I can't figure
>> out why...any suggestions would be greatly appreciated.
You don't need the JDK. There are three files, comm.jar which goes into
the JRE/lib/ext directory, javax.comm.properties which goes into the
JRE/lib directory and win32com.dll which goes into the JRE/bin
directory. Some operating systems report more ports than actually exist
but under reporting is usually an installation or coding problem.

Signature
Knute Johnson
email s/nospam/knute/