How to access COM port in java?

Status
Not open for further replies.

abbas1707

Full Member level 4
Joined
May 3, 2007
Messages
216
Helped
20
Reputation
40
Reaction score
8
Trophy points
1,298
Activity points
2,371
hi,
can any1 plz tell me how to access COM port in java:| i want to send characters serially through com port at baud rate of 9600.
thanks on advance:!:
 

Re: java problem!!!

There's a package called javax.comm that allows you to access different ports of your PC .Unfortunately, the one available by SUN is written for solaris and linux .
You can download one to use for windows from :

https://www.cs.uml.edu/~fredm/courses/91.305-fall04/javasetup.shtml

You can visit SUN's java's web site for the documentation of the package .
 

Re: java problem!!!

yes i have that package but i never used it.i think i must read some examples before.
thanks 4 ur reply
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…