Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

COM ports in Windows  RSS feed

 
Larry Riffe II
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you access a com port in Windows XP? I've seen references to Sun's Java Communication API. But it appears that the current version (3.0) isn't supported on Windows anymore?
 
Joe Ess
Bartender
Posts: 9429
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been curious about that for a while, so I did some digging on the java.sun.com forums and found this post:


Re: javax.comm version 3.0 for Windows?
Author: MikeR@Sun Posts: 21 Registered: 7/27/03
Dec 5, 2005 8:26 AM (reply 18 of 20)
FYI, I just got in touch with the developer for javax.comm. The problems that Faz is seeing are caused by incompatibilities Microsoft introduced in Win2k+ and the original javax.comm Windows codebase. Unfortunately, there aren't currently enough resources to continue the Windows support. This may or may not change in the future. Until then, you might want to check out RXTX, an open source project at http://www.rxtx.org/.

(Linux support was added in 3.0 because they are able to take advantage of the fact that basically Linux is a variant of Unix, so porting the native code from Solaris to Linux is fairly straightforward.)

Mike.

P.S.

There are two possible routes to go at begging for new Windows support. First, one person could create a change request, post the link, then get everyone else to vote for it. Second, people can check out Java.net, and try to convince the community to take up support of this.

The URL for bug reports and change requests is here:

http://bugs.sun.com/services/bugreport/index.jsp

(Just one person should do this, then get everyone else to vote for it.)

The URL for Java.net is, surprisingly:

http://java.net/


here is the original thread. Good luck.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!