Comment on Tutorial - How to Send SMS using Java Program (full code sample included) By Emiley J.



Comment Added by : jm

Comment Added at : 2010-05-31 01:42:28

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hi
after i dl the javacomm20-win32.zip and follow the place the to put
win32com.dll in /bin
comm.jar and javax.comm.properties /lib
and classpath

but i still get the error
Caught java.lang.ClassNotFoundException: com.sun.comm.Win32Driver while loading driver com.sun.comm.Win32Driver
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:430)
at sms.SerialConnection.openConnection(SerialConnection.java:71)
at sms.Sender.send(Sender.java:45)
at sms.SMSClient.run(SMSClient.java:52)
at java.lang.Thread.run(Thread.java:619)
sms.SerialConnectionException
at sms.SerialConnection.openConnection(SerialConnection.java:76)
at sms.Sender.send(Sender.java:45)
at sms.SMSClient.run(SMSClient.java:52)
at java.lang.Thread.run(Thread.java:619)

isit bcos i using win7 and the win32com.dll is only for xp and i using a usb-to-serial cable


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. having errors in the programme
View Tutorial          By: dfdff at 2011-12-21 11:42:10

2. import java.io.File;
import java.util.Scann

View Tutorial          By: sa at 2012-08-02 07:09:30

3. Fine,you r very straightforward I like that

View Tutorial          By: Shaiju at 2010-02-21 10:15:00

4. This is a great tutorial. I have a slight problem,
View Tutorial          By: Vix at 2010-11-22 13:42:03

5. I don't think GSM/Modem simulatur, will get it wor
View Tutorial          By: Michael Chon at 2008-10-08 10:35:55

6. hi ashraf , ramlak and all,
i m new here .

View Tutorial          By: hemendra at 2009-12-28 21:59:34

7. Can u send total code, i am in critical position n
View Tutorial          By: ram at 2011-05-16 07:07:10

8. Windows XP
libmySQL.dll in package MySQL5.1

View Tutorial          By: Bingo at 2009-11-07 20:11:52

9. also MEGA IMPORTANT:

make sure you

View Tutorial          By: niko at 2013-04-19 18:55:14

10. How to connect a webpage(which I have created for
View Tutorial          By: sam at 2012-01-24 10:10:52