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. Good To understand.
View Tutorial          By: Radhika at 2010-05-11 01:24:55

2. thank you sir, please provide me string array in d
View Tutorial          By: ravi gupta at 2012-01-17 17:04:33

3. its so nice
View Tutorial          By: senthilkumar at 2010-11-11 02:44:37

4. the example program that given above for recursion
View Tutorial          By: bharathi at 2012-07-17 09:31:14

5. nice cursor beside learn java...but i do not know
View Tutorial          By: yazidie_y at 2008-03-08 03:33:03

6. Thanks for everything... I'm greeting you from Aze
View Tutorial          By: Shahriyar at 2011-04-28 15:54:14

7. Excellent!!!!!!!!!!

Tons of thanks

View Tutorial          By: Sara at 2009-06-03 05:38:59

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

9. Its Really Easy to understand............. superb
View Tutorial          By: Regina at 2010-01-06 23:38:11

10. Awesome article...
View Tutorial          By: Jiten TAluja at 2010-06-03 06:33:10