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



Ask a Question

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. Pl provide me code to send sms using USB modems.
View Tutorial          By: Prayag Singh at 2010-09-27 22:50:34

2. Thank you Sir.
View Tutorial          By: Dinesh at 2015-08-25 10:41:30

3. I like your linked list program. i've one doubt di
View Tutorial          By: silambarasan at 2013-01-25 03:11:48

4. Hi can anyone tell me how to use try catch in comm
View Tutorial          By: Gossip Lanka at 2015-04-26 05:00:44

5. i am getting the following error when i ran this p
View Tutorial          By: nancy kapoor at 2008-10-07 14:26:21

6. nice information, thanks dost.
View Tutorial          By: Bhargavi Menpara at 2013-02-12 08:11:23

7. I got error during using above code if There is ne
View Tutorial          By: Sunil at 2009-12-28 05:22:45

8. My friend, How to user ArrayList?
View Tutorial          By: Joao Neto at 2009-06-04 06:28:17

9. @Zero Code

@
Catch ex As Ex

View Tutorial          By: Chitz at 2011-12-24 19:50:45

10. Its not working for me, also tried things written
View Tutorial          By: webian at 2010-01-24 10:33:23