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. ei! its me again..i badly need you help coz we are
View Tutorial          By: anne226 at 2009-02-11 10:24:21

2. I get an error " javax.mail" does not ex
View Tutorial          By: bhavin at 2009-02-03 05:50:08

3. site is good.explaining the concept with nice pro
View Tutorial          By: AJOY KUMAR MANDAL at 2012-11-22 01:57:26

4. doesn't work with 3 , 7 and 5 but with numbers hig
View Tutorial          By: asd at 2013-05-11 09:25:30

5. import gnu.io.*;
import java.io.*;
<

View Tutorial          By: Anonymous at 2013-03-29 02:39:00

6. Hello sir pls send me
com.sun.speech.freett

View Tutorial          By: sana at 2011-12-23 16:16:24

7. Very new to Java and was hoping you could explain
View Tutorial          By: Confused at 2011-08-16 14:02:06

8. Thanks for the information.
View Tutorial          By: Appala Naidu at 2012-02-10 09:11:29

9. tis s very useful and easy to capture all persons
View Tutorial          By: Divya at 2013-12-19 05:42:32

10. http://www.java-samples.com/showtutorial.php?tutor
View Tutorial          By: Prab at 2009-04-13 11:54:17