i have read your answers on serial port from java but i have some questions to ask you if you dont mind:
1 - does this programs work on solaris / sparc machines, cause i guess sparc machine serial port is 32-bit while java os 64-bit so i guess i'll need some sort of emulator in here. if i was write do you suggest any sort of emulators ( library ).
2 - if u test this program while i dont have a serial device attached to the serial port it will produce the message "No serial port founds " i am just . i just want to know if my serial port is successfully opened or not
if you dont mind can you answer directly to my mail : firstname.lastname@example.org
i'l apperciate your help alot
im also having the same problem with the rs232 port, basically im trying to read data fro the rs2322 serial port, i compiled the SimpleRead. java and it worked, but when i tried to run it, i got an error saying exception in thread "main@ java.lang.NoClassDefFoundError: javax/comm/SerialPort EventListener
at java.lang.ClassLoader.defineClass1(Native Method).
Any help will really be appreciated
I have been trying to install the java comm api without any success. I installed
comm.jar into j2sdk1.4.2_04\jre\lib\ext
javax.comm.properties into j2sdk1.4.2_04\jre\lib
win32com.dll into j2sdk1.4.2_04\jre\bin
I've set the CLASSPATH as follows: .;c:\j2sdk1.4.2_04\jre\lib\ext\comm.jar
I then tried running the SerialDemo provided with commapi bundle but it can't find any serial port.
Any help on this would really be appreciated. Thanks
my question is much more strange, actually! at first, i can list all the serial port with name "COM1","COM3"... using my java programm. but i don't know for what reason, suddenly i can't find all the communication port including serial & parralle port any longer.
did somebody have this problem too? how can it be fixed?
I,am Shwetha.M.V. I'am an final year engineering student studying in Mysore.Actually we have the same problem in our project which u had.
So please help us by giving the solution to the problem if u have already fixed the problem.