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



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. thnx
View Tutorial          By: Prakash at 2011-07-27 03:05:17

2. sir, in this example,which value of n is being sto
View Tutorial          By: shivom at 2012-01-15 07:16:49

3. Hi,

I am new to html, and javascrip

View Tutorial          By: Tom Theriault at 2010-12-14 14:54:09

4. We need an example to tokenize a xml file
View Tutorial          By: Todo at 2010-03-03 03:27:01

5. This example is very good, but it doesnt work in M
View Tutorial          By: soma at 2010-04-13 04:34:00

6. Thank you for giving info.
View Tutorial          By: Deepak cheela at 2013-01-23 07:03:08

7. i am not sure of this line(depends on your jvm) ,
View Tutorial          By: vpeddi at 2010-03-20 07:20:19

8. nice to read thank you for the notes. that helps m
View Tutorial          By: V.Ranjith kumar at 2010-08-12 06:13:03

9. very helpful & gud tutorial...
thanks..

View Tutorial          By: Narpinder Sharma at 2011-06-27 03:12:20

10. thks for help...
View Tutorial          By: Peps at 2010-01-05 02:34:15