-1

In that I connect hardware through USB. I need to write a program in Java to detect the port or pop up GUI page. So I need to communicate with ports. I am looking for javax.comm to download and attach to the eclipse. problem is I have a Mac and not getting link to download java.comm.

halfer
  • 19,824
  • 17
  • 99
  • 186
krishna
  • 1
  • 5

1 Answers1

0

Oracle's page about javax.comm mentions RS-232 and IEEE-1284, but nothing is said about a support for USB. This question says:

It seems that Java comm API is dead now.

The good news are that there is an API especially for USB: JSR-80. An implementation of it is usb4java.

Community
  • 1
  • 1
mm759
  • 1,404
  • 1
  • 9
  • 7