Obrigado pela resposta.
Fiz EXATAMENTE o recomendado, ou seja, as instruções entre ***************************** abaixo.
Também tive cuidado com duas instalações. Mesmo assim os exemplos não conseguem achar as seriais.
Chequei as seriais, o Windows as reconhece normalmente. Tenho duas… já testei com um cabo null modem e hyperterminal. Tudo parece estar OK.
Só não consigo fazer os exemplos SerialDemo e BlackBox encontrarem as seriais.
Mesmo assim obrigado.
Copy win32com.dll to your <JDK>in directory.
C:>copy c:commapiwin32com.dll to c:jdk1.1.6in
Copy comm.jar to your <JDK>lib directory.
C:>copy c:commapicomm.jar c:jdk1.1.6lib
Copy javax.comm.properties to your <JDK>lib directory.
C:>copy c:commapijavax.comm.properties c:jdk1.1.6lib
The javax.comm.properties file must be installed. If it is not, no ports will be found by the system.
Add comm.jar to your classpath (do not do this step for a JRE installation).
If you don’t have a classpath defined:
C:>set CLASSPATH=c:jdk1.1.6libcomm.jar
If you already have a classpath defined:
C:>set CLASSPATH=c:jdk1.1.6libcomm.jar;%classpath%
Several serial port sample applications are provided with this release. One of them is BlackBox. To run BlackBox, first add BlackBox.jar to your classpath:
C:>set CLASSPATH=c:commapisamplesBlackboxBlackBox.jar;%CLASSPATH%
Now you can run BlackBox:
C:>java BlackBox