On 3/29/06, Liloulinx <alilou_linux@xxxxxxxx> wrote:
The JavaComm library used the comm.jar and a native library (something ending with .so, depending on the JavaComm pacakge you use). If you copied the comm.jar from the old RedHat system to a newer system you should also copy the .so file and make sure it's in the system library path.
Klaasjan
Hi everybody
I try to write to the parallel port of a linux machine in java using the
comm.jar api. On RedHat distribution (kernel 2.4), it works correctly. But not
on others linux distributions (like Ubuntu, Mandrake and Fedora Core) whose are based on 2.6
kernel. Do this problem is related to the kernel version and does somebody can
help me to fix it?
The JavaComm library used the comm.jar and a native library (something ending with .so, depending on the JavaComm pacakge you use). If you copied the comm.jar from the old RedHat system to a newer system you should also copy the .so file and make sure it's in the system library path.
Klaasjan