javax.comm

How to add a "driver" to javax.comm? Serial port programming in Java

Hello everybody, I am trying to use a RS-232 serial port on my PC with javax.comm class. I am newby on that API, so first of all I go through the documentation and I find out that the first thing you should do is "list" all the ports from the class CommPortListener and pick up one of them. That worked just fine! Problem is, now, that m...

Can't find ports with javax.comm api

I am trying to install the javax.comm api on a machine (I already installed on another machine and it is working fine) but when I run the sample "BlackBox" application I get a message that says "No serial ports found!". I have followed the instructions and put win32com.dll in the bin directory of the jdk, comm.jar in the lib directory o...

javax.comm: Error when device is disconnected

I have an application that reads data from a com port using javax.comm. The problem I am having is that if the device that I'm reading from is unexpectedly disconnected I get an error in the console that says "WaitCommEvent: Error 5" I have looked around and can't find any helpful information about this. I have set all of the notifyOn...

cannot find symbol in net beans

i am having code which is using javax.comm lib file,i am getting error saying cannot find symbol.i want to know where exactly my jar file should be?i using windows xp and net beans ide ...

How to deploy Java Communications API

I've been developing a java application with the eclipse RCP which requires the Java Communications API. Now as the javax.comm has to be setup first (install javax.comm.properties, win32comm.dll and comm.jar) my question ist: How should I deploy my application to make sure javax.comm will be setup on the user's machine? Should I provide ...

Java compiled with gcj using javax.comm api. Possible?

I have a java program that I'm required to compile into a Linux native program using gcj-4.3. This program requires serial port access. The javax.comm api provides serial port access but I'm not sure how to get my compiled java program to use it. The target box has Java installed, but of course my compiled program isn't running in the...

Problem of using the javax.comm API on windows 7

Hey friends i am using the javax.comm API to help my program communicate to a hardware over the serial port. I am using the Windows 7, and netbeansIDE9. i used the common java program to check the available ports on my PC. the program compiled and run with out error. however,it returned nothing. can anybody tell me what i can do to use t...