-3

I'm looking for a free Serial Port library that works with Eclipse Helios, Windows 7 and WindowBuilder. Also, the library shall be easy to install and have a full example of usage. Due to project schedule, I can't afford to spend a lot of time trying to get this environment to cooperate.

I found JCommWin32, but that causes problems with WindowBuilder when an instance of the derived class is invoked (I had no content in the derived class, only overloaded "onRead" which was an empty method).

According to many sources on the Web, Sun dropped serial port support for Windows.

Thanks.

Thomas Matthews
  • 56,849
  • 17
  • 98
  • 154

2 Answers2

0

Another popular library is RXTX. It is not perfect, but usable.

PS. WindowBuilder vs. Serial Port Library... Are you mixed UI with serial port handling?

lxbndr
  • 2,159
  • 1
  • 15
  • 17
  • I need to write a GUI application, running on windows 7, that talks to an embedded system using RS232C interface; not USB. Does this qualify as "mixing"? – Thomas Matthews Feb 08 '12 at 16:51
  • I meant that UI classes contain code for opening a connection, sending/receiving data, etc. Maybe it worth to hide such business out from WindowBuilder. Regarding to RXTX, we use it in production for about 1 year. I heard it may fail in some non-standard situations, but we use it for simple send/receive operations. – lxbndr Feb 08 '12 at 21:55
0

I have decided to use the Windows native API for Serial Port.

Thomas Matthews
  • 56,849
  • 17
  • 98
  • 154