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. all of codes of t-C++ ide, it is applicable to use
View Tutorial          By: jonard at 2009-06-05 20:41:39

2. the above code works fine for. May someone help wi
View Tutorial          By: T.T at 2012-02-23 06:22:36

3. hi its working nice,can u plz help me how to fetch
View Tutorial          By: Manju gowda at 2014-02-21 07:23:44

4. Gud one for beginners
View Tutorial          By: puneet at 2011-07-20 05:00:42

5. Class TypeCasting
{
public static v

View Tutorial          By: kishoree koli at 2013-03-14 03:00:31

6. thank for this script
because i will work

View Tutorial          By: r at 2009-06-27 05:07:31

7. nice article... got th topic clearly
View Tutorial          By: praba at 2011-05-09 23:29:26

8. file reader is good but file writer is worst
View Tutorial          By: sachinmani at 2010-03-01 04:34:22

9. i want to how to run a package and compile also
View Tutorial          By: sandhya at 2015-06-25 09:04:03

10. Dear any buddy i use Nokia N73 and connect with Bl
View Tutorial          By: zstranger at 2012-03-29 07:43:12