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. may i have one more example
View Tutorial          By: bujii at 2015-05-08 03:04:40

2. great answer...
View Tutorial          By: nagi ponnagani at 2011-04-29 14:11:21

3. very usefull article............ thanks to the aut
View Tutorial          By: runa at 2010-10-16 08:43:38

4. import java.util.*;

public class de

View Tutorial          By: Virudada at 2012-05-05 06:27:22

5. Thanks, it was really helpful.
But wouldn't

View Tutorial          By: Ron at 2010-06-27 14:22:36

6. #include<stdio.h>
void main(){

View Tutorial          By: niru at 2012-07-21 07:26:27

7. Very Very nice code
View Tutorial          By: Kits at 2009-05-26 07:54:46

8. So, is it possible to use the getClass() and getRe
View Tutorial          By: cee at 2014-11-29 14:27:10

9. This says nothing meaningful.

So ho

View Tutorial          By: Andreas at 2012-09-23 23:01:01

10. i have connected my phone through bluetooth and us
View Tutorial          By: nikitha at 2013-02-05 09:07:34