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



Comment Added by : rima

Comment Added at : 2008-12-27 22:22:03

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
well...raghu download the sun api...whose link is http://java.sun.com/products/javacomm/(also given above the program)
i using a sify braodband connection...
while running my own class where i hav instantited SMSClient in main method...im getting this errror
Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path
Caught java.lang.UnsatisfiedLinkError: com.sun.comm.SolarisDriver.readRegistrySerial(Ljava/util/Vector;Ljava/lang/String;)I while loading driver com.sun.comm.SolarisDriver
javax.comm.NoSuchPortException
at javax.comm.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:430)
at sms.SerialConnection.openConnection(SerialConnection.java:72)
at sms.Sender.send(Sender.java:46)
at sms.SMSClient.run(SMSClient.java:52)
at java.lang.Thread.run(Thread.java:619)
java.lang.NullPointerException
at sms.SerialConnection.openConnection(SerialConnection.java:89)
at sms.Sender.send(Sender.java:46)
at sms.SMSClient.run(SMSClient.java:52)
at java.lang.Thread.run(Thread.java:619)
How to solve this problem???


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. i want diff example one.....

plz
View Tutorial          By: Santhosh at 2010-07-30 01:35:22

2. i have a question..i need to parse an xml file wit
View Tutorial          By: meltd0wn at 2011-09-30 08:36:51

3. plzzz xplain all d buzzwads.....
View Tutorial          By: sindhu at 2010-12-10 08:49:27

4. Hi fiends,
your given approch is correct .

View Tutorial          By: Amit Kumar Singh at 2011-10-10 04:44:58

5. Gan,

Above print is not working bec

View Tutorial          By: Amit at 2011-07-25 05:26:47

6. hi guys,

i want some

View Tutorial          By: THANGA at 2012-03-19 15:24:38

7. example is good but in c++ we can't use printf().
View Tutorial          By: vikas at 2009-10-26 20:12:08

8. hiiis
i m working on project related to SM

View Tutorial          By: Parveen at 2008-08-08 13:23:20

9. The example shown and ur way of explaining is good
View Tutorial          By: Devi at 2009-02-24 07:19:26

10. Hi,
this is excellent stuff and I highly ap

View Tutorial          By: Nanda at 2007-11-02 04:58:30