Unable to use javaxcomm api

Hello all,

I have a TINI board connected to the serial port of the PC. I have a program that sends data to the PC. I wrote a program that prints the data coming onto the serial port using comm.jar. However, when I run the program it says,

Opening port COM5

javax.comm.NoSuchPortException

at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.ja

va:105)

Windows shows COM5 in the device manager. I also have another program that shows the existence of COM5. However, this program keeps giving me errors.

I have the comm.jar in jre\lib\ext and I am using JDK1.4.1_02.

Thanks for your help

Dinesh

[670 byte] By [bhatdinua] at [2007-10-1 21:13:49]
# 1
Hithis link has some info abobut it. http://homepage.usask.ca/~rsk894/hcitroubles.txt~r
-rAGUa at 2007-7-13 3:10:27 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...