Michael,

I have not had time to download the pre5 release yet so cannot check the
line number (my changes were merged with others). However, a printout of
the compiler error would be useful.

Also, I suspect the BlackBox you are using is for an old version of
commapi as openPort() was replaced with open() in commapi2.0.

Dave

> Mr.  Atkinson
> 
> I downloaded and built the rxtx-1.2pre5 package.  I followed your
readme
> file and used the comm.jar file
> from."javacomm20-beta-solaris-sparc_tar.z".
> 
> When I initially tried to build the package I got an error relative to
> "tt" in file SerialImp.c at line 2180.  I commented out the offending
> lines to get the package to build.
> 
> When Testing with the comm.jar file from
> "javacomm20-beta-solaris-sparc_tar.z" I get the following error.
> 
>  java  BlackBox -p /dev/cua3
> 
> CommAPI pre-release version. Do not distribute.
> Opening port /dev/cua3
> java.lang.NoSuchMethodError: javax.comm.CommPortIdentifier: method
> openPort(Ljava/lang/String;I)Ljavax/comm/CommPort; not found
>         at SerialPortDisplay.openPort(SerialPortDisplay.java:133)
>         at SerialPortDisplay.<init>(SerialPortDisplay.java:114)
>         at BlackBox.addPort(BlackBox.java:277)
>         at BlackBox.main(BlackBox.java:170)
> 
> 
> When I replace the comm.jar file one I previously used the BlackBox
demo
> runs, but with no receive functionality as with the previous version
of
> rxtx I built (rxtx-1.2pre3).  I have also run the SerialDemo with the
> same results as above.  When running both demos under release 1.2pre3
> the transmit functionality works but not the receive.  I understand
this
> is due to the eventlistners not beign enabled in the early release.
> 
> Questions:
> 
> what could be causing the errors mentioned above.
> Are the eventlistenres enabled in release 1.2pre5, so the receive
> functionlity should work in the demos?
> What should I do to properly build the system?
> 
> Any help will be greatly appreciated.
> 
> Thank You
> 
> Michael Cianciosi
> 
> 

Reply via email to