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. You have simply saved my life. After 2 days dealin
View Tutorial          By: M├írio Buratto at 2013-01-11 19:54:36

2. better
View Tutorial          By: sanjeev at 2010-06-12 10:38:04

3. Very cool one, thanks, got the concept clear
View Tutorial          By: black boot at 2010-04-18 08:20:20

4. very nice content
View Tutorial          By: jagadeesh at 2012-04-25 06:24:03

5. Zabardast
View Tutorial          By: Rohan at 2011-11-03 08:25:59

6. I am facing the same problem but org-netbeans-modu
View Tutorial          By: Anonymous at 2009-05-08 07:59:09

7. I am java developer and interested to write scjp e
View Tutorial          By: Parvathi at 2013-07-05 14:24:08

8. abstract class A {
abstract void callme()

View Tutorial          By: satish at 2012-04-07 10:35:38

9. where is the main class dear.................
View Tutorial          By: akhand at 2011-03-01 23:58:05

10. thanks man really very nice and helpful...........
View Tutorial          By: Bakhtawar khan at 2012-12-05 05:54:18