This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes Does Java Supports IO Port  Programming?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Does Java Supports IO Port  Programming??" Watch "Does Java Supports IO Port  Programming??" New topic

Does Java Supports IO Port Programming??

Shahbaz Ali

Joined: Aug 25, 2005
Posts: 2
Does java support IO Port programming like other languages c++ etc.
I want to program some devices in java.. Help would be appreciated ..

Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 691
Do you mean comm ports like COM1?
Yes, I can't find the links or name right now, but a search on the Sun site should help.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14917

You will need to download and install the Java Communications API if you want to program ports.

There's also a library for programming with USB ports: jUSB: Java USB (although it looks like this currently works only on Linux).
[ August 26, 2005: Message edited by: Jesper de Jong ]

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
jQuery in Action, 3rd edition
subject: Does Java Supports IO Port Programming??
It's not a secret anymore!