• Post Reply Bookmark Topic Watch Topic
  • New Topic

Missing Javax.comm files  RSS feed

 
James Cannan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I have just a quick question for all you javax.comm users out there.
I have just managed to install and use javax.comm after about 5 days of trying and have come to another wall in my path. I have found that when I try and compile some of the demo programs provided I get this message:

cannot find symbol
symbol : class CommPortIdentifier
location: package javax.comm
import javax.comm.CommPortIdentifier;

So, I went looking for a class called CommPortIdentifier and guess what? There was no class . Are they actually providing examples that don't work or have I managed to lose a class somewhere along the line? I�m guessing if someone knows where this class is then i will hopefully find the other missing classes near by.

Insights into how I lost a class would be appreciated.

Thanks

James Cannan
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi James,

Welcome to JavaRanch!

javax.com is no longer supported by Sun; they don't even ship a Windows implementation. It may be that you're using an implementation of an older version of the spec than the examples are targetted at, or the sad truth may indeed be that the examples you're using are simply broken.

You might consider using an active third-party product like RXTX
[ October 14, 2006: Message edited by: Ernest Friedman-Hill ]
 
James Cannan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the quick reply.

I'll have look at the RXTX package. Although I seem to remember when I was researching javax.comm that RXTX was more of a Linux package but I guess I must of missed something if your saying that i can use it on windows.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Long time ago, when Sun had a Windows javax.comm implementation, RXTX was an alternative for folks who needed to support Linux. Now there's no Windows implementation, either, so RXTX is an alternative for... everybody!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!