jQuery in Action, 3rd edition
The moose likes Java in General and the fly likes com port Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "com port" Watch "com port" New topic

com port

Ajeesh Moidutty

Joined: May 18, 2006
Posts: 22
I want to access ports like com1,com2 etc
and release the handle any application has on it.

I downloaded javax.comm Api

Now How can I code it ?
Henry Wong

Joined: Sep 28, 2004
Posts: 20370

Maybe a good place to start is the documentation.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
bart zagers
Ranch Hand

Joined: Feb 05, 2003
Posts: 234
Just to be sure, you are aware that the Java Communications api does not work for windows anymore?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
You can still use javax.comm version 2 on Windows; theJava IO FAQ has download details on that, and also points to other serial comm. APIs.
wood burning stoves
subject: com port
It's not a secret anymore!