Java Communications API for Windows XP
I am learning how to communicate from the PC(XP/Linux) and a Sparc (Ultra 10 with Solaris 10) using a serial port to a Microchip PIC chip based controller. All I can find is an API for Linux, Solaris and an old API for Windows '98 using Java 1.2. There are several companies more than willing to sell me a "solution" for thousands of dollars.
This is not what I need, I want to learn how to do this on my own, but I do not have the time or inclination to dig into the HAL on XP with the DDK. Isn't Java supposed to be "portable" or is that just a myth, limited to 'nix solutions?
I am more than happy to RTFM if someone will point me to the correct "FM". Any direction would be appreciated.
dw, Melbourne, Florida
[741 byte] By [
dwurmfelda] at [2007-11-26 13:29:40]

# 1
Ref: http://forum.java.sun.com/thread.jspa?threadID=5059439
A Windows port of javax.comm is not currently offered by Sun. Among the reasons the previous edition of javax.comm for Windows was EOLed are that the Windows platform itself changed in incompatible ways, and the Windows port of javax.comm depended on an EOL'ed version of the JVM.
http://www.rxtx.org seems to be where the recent activity and support is, and there may be other Windows ports available on line from other vendors as well.
Also:
you can get the javacomm 2.0 version for windows with the following link: http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=723 5-javacomm-2.0-spec-oth-JSpec&SiteId=JSC&TransactionId=noreg
Does that help?
# 2
> Does that help?
Yes! Thank you!
I have sat here the whole day, trying to find the JCA for Windows!
What I don't understand is, that even if there isn't a 3.0 release for Windows, why don't Sun have a link on this page: http://java.sun.com/products/javacomm/index.jsp
to the old Windows release?
Ojlaa at 2007-7-7 20:34:21 >

# 3
On http://java.sun.com/products/javacomm/index.jsp, there is a 'Downloads' link on the left panel. This link points to "http://www.sun.com/download/products.xml?id=43208d3d". Clicking 'download' from this page does provide access to a generic 2.0.3 version download. This one includes only the jar file, which is all that is needed for development.
But you are right; i am not sure why the windows url is not mentioned. You may want to raise this question at http://forum.java.sun.com/forum.jspa?forumID=31. (There doesn't seem to be a forum dedicated to javacomm; The forumID 31 is for 'Java Essentials' but i find most of the javacomm questions have been raised here).
# 4
OK! I tried to download the Generic, but when I didn't got it to work I didn't knew if it was I who didn't understand how to use it, or if the Generic was incompatible with Windows.I'm pretty new to this.
I only followed instructions in my "Programming Lego Mindstorms with Java", and there he directed to the win32com.dll and javax.comm.properties, which I, as you know, couldn't found i the Generic.
I have got my answers now. But if it can help somebody else....
Ojlaa at 2007-7-7 20:34:21 >

# 5
>> What I don't understand is, that even if there isn't a 3.0 release for Windows, >> why don't Sun have a link on this pageI have submitted a bug entry for this.