[Rxtx] missing ParallelPort.java
Trent Jarvi
tjarvi at qbang.org
Wed Oct 26 17:03:57 MDT 2005
On Thu, 27 Oct 2005, Ákos Maróy wrote:
> Trent Jarvi wrote:
>> This and your next email concerning missing files suggest you are going
>> about recreating rxtx 2.1 with rxtx 2.0. The files you are missing are
>> in CommAPI from Sun and just a few files are needed in rxtx 2.0 to work
>> with the files Sun provides.
>
> but what are you suggesting? I did have the Sun-provided comm.jar
> installed when I tried to compile rxtx...
>
>
If you do jar -tf comm.jar you will see SerialPort.class. Perhaps a
package name is not matching but there is no need to grab SerialPort.java
from rxtx 2.1. In fact that will cause problems like you ran into.
Make sure that comm.jar is indeed in your class. Also check to make sure
the packages are matching. RXTX 2.1 will put SerialPort.java in class
gnu.io to avoid conflicts with Sun's comm.jar. This will cause problems
as SerialPort.class should be provided by Sun in package javax.comm with
rxtx 2.0.
The same applies for ParallelPort.java
More information about the Rxtx
mailing list