Help! How to get the Java Communication Package work in JDK1.3.1?
I downloaded a Java Communications API Win32 ver 2.0 from java.sun.com, and try to use it to do some programming to communication ports with JDK1.3.1.
I failed. When I tested with the samples (BlackBox, SimpleRead) coming with the javax.comm. It showed "no serial port found", something like that. I check the installation Instructions of the comm. package, it only described the installation under JDK1.1 and the pre-release version of JDK1.2. (and the installation of the same package in JDK1.1 and JDK1.2 are totally different.)I tried the specification with my JDK1.3, but it doesn't work.
Who knows how to install the Javax.comm package in JDK1.3.1? Please let me know as soon as possible. Thanks a lot.
[743 byte] By [
yu_zhou] at [2007-9-26 2:35:32]

This comes straight out of the FAQ that you got with your download:
Q: My application does not find any ports when it enumerates available ports.
Q: BlackBox gives me a message that says "No serial ports found!"
A: In order for the Java communications API to find ports the file
javax.comm.properties must be in the correct place. The preferred location
is in <jdk>/lib. See the installation instructions for alternate locations
and further information.
Installation is very simple. Comm is a standard extension, so copy comm.jar to %JAVA_HOME%\jre\lib\ext
This is all in the docs....
The native dll needs to be in any searchable path on the system that is running the library.
In distributing an app, make sure to place the javax.comm.property file in the JRE/lib directory. I tried placing one under the app's /lib directory, but it still couldn't find it (it being the JVM) until the file was under JRE/lib