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



Comment Added by : Pravin Kamble

Comment Added at : 2014-05-03 07:00:12

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
Hiii....i am using windows 8..jdk1.7.51 and netbeans 7.4..
i copied 3 files to apporiate folders
copy comm.jar \jdk1.7.51jre\lib\ext
copy win32com.dll \jdk1.7.51bin
copy javax.comm.properties \jdk1.7.51\jre\lib

but i got this error...
run:
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:105)
at sms.SerialConnection.openConnection(SerialConnection.java:69)
at sms.Sender.send(Sender.java:42)
at sms.SMSClient.run(SMSClient.java:36)
at java.lang.Thread.run(Thread.java:744)
java.lang.NullPointerException
at sms.SerialConnection.openConnection(SerialConnection.java:85)
at sms.Sender.send(Sender.java:42)
at sms.SMSClient.run(SMSClient.java:36)
at java.lang.Thread.run(Thread.java:744)


is this code working for windows 8??


View Tutorial



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. how to run file IO program?
isn't that must

View Tutorial          By: farah at 2009-08-24 02:41:59

2. Hi All........
People those who are ge

View Tutorial          By: Abhijit at 2013-05-28 11:24:24

3. syntax of java program in looping statement
View Tutorial          By: lokesh at 2009-03-25 06:57:56

4. Nice example to understand what does the string To
View Tutorial          By: Spha at 2011-07-14 08:00:03

5. Excellent for beginners
View Tutorial          By: PRN at 2012-05-22 09:49:15

6. Hey thanks for your tutorial. But i'm getting an e
View Tutorial          By: acc at 2013-07-25 14:30:50

7. Very very nice example thank you
View Tutorial          By: Fabrice at 2010-12-03 03:36:18

8. it really helped me...thank you...
View Tutorial          By: ram at 2015-01-22 20:12:01

9. Hi, thanks alot this code works for me , can someo
View Tutorial          By: ann at 2011-03-18 04:50:16

10. This is Nice start for programmer '
Thanks

View Tutorial          By: Sagar Ikhankar at 2011-07-22 06:12:44