I can't get serial communication to work with my Java application on 32 bit systems, both Windows XP and 7. I've tried jssc and all i get is "Port Busy". The solution from Oracle doesn't give "Port Busy", but it just hangs, doesn't read any data. Everything works fine on 64 bit systems. Any idea what i might be doing wrong that causes it not to work on 32 bit? Other serial comm libraries that you might have used with success on 32 bit systems? Thank you!
Asked
Active
Viewed 631 times
0
-
As I know javax.comm is no longer been in action. – Thusitha Thilina Dayaratne Aug 25 '14 at 09:26
-
But i couldn't get jssc or rxtx to work on 32 bit, and i just don't have any ideas what could be causing it. – user3673938 Aug 25 '14 at 09:49
-
do you have a real serial port on your computer or is it a virtual usb serial port? – Martin Frank Aug 25 '14 at 10:03
-
it might sound stupid, but i had some issues with usb<-->serial connectors... have you tried to unplug the usb-connector to different usb-port? – Martin Frank Aug 25 '14 at 10:08
-
I had the same problem on different computers. It works on computers that run 64 bit systems, but not on 32 – user3673938 Aug 25 '14 at 11:03
1 Answers
0
It turns out it was a packaging problem. Somehow the serial communication library didn't get packaged right. We redid it and now everything works.

user3673938
- 11
- 4
-
I have same problem. Can you explain what exactly you did? I've tried to remove than add again jssc.jar but the error is same whatever i do. Always port is busy. – Josef Jan 26 '16 at 07:50
-
I didn't use jssc, I ended up using rxtx. But it's not a great solution because i have to manually copy the rxtx.dll in the Java installation folder of the computer that I want to run my program on. But still, it works. – user3673938 Jan 27 '16 at 08:41