'Java Read Data From Serial Port

I wrote a Java Program to read serial port data using rxtx. It worked successfully in a 32 bit windows system of mine.However when i used the same code on 64 bit with rxtxcomm.jar and rxtxserial.dll changed it is not working.I downloaded the rxtx files from their site for 64 bit and still it is not working,it seems the dll is meant for 32 bit only . Is there a dll for 64 bit available? I need help in this matter as code is working fine on 32 bit system. Thanks in advance.



Solution 1:[1]

download the rxtx for 64 bit from the link : http://mfizz.com/oss/rxtx-for-java

Also the rxtxSerial.dll and rxtxParallel.dll for 64 bit is already present.

Please follow the installation instruction inside it.

Solution 2:[2]

RXTX binary builds provided as a courtesy of Fizzed, Inc. (http://fizzed.com/). Please see http://fizzed.com/oss/rxtx-for-java for more information.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 robin
Solution 2 cepa