0
Я использую мой 3G модем порт в моем SMSlib, но мой код не обнаруживает порт и дает эту ошибку3GModem NoSuch Порт Execption
try {
CommPortIdentifier portId = CommPortIdentifier.getPortIdentifier("COM1");
} catch(Exception e) {
e.printStackTrace();
}
Мой модемный порт COM1, но я не расставил все «comm.jar» и «javax.comm.properties» и «win32com.dll» в соответствующих каталогах
"this error"? Какая ошибка? –
javax.comm.NoSuchPortException \t at javax.comm.CommPortIdentifier.getPortIdentifier (CommPortIdentifier.java:105) – Mujahid