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



Ask a Question

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 set my eclipse as describe above.
I also

View Tutorial          By: Anonymous at 2012-03-25 02:12:52

2. thanks...........its really very helpful for me...
View Tutorial          By: ashwini agarmore at 2013-01-17 06:31:21

3. hi MR. A.Balaji
can u help me how you have

View Tutorial          By: mjnanthini at 2010-10-03 23:04:35

4. I used HyperTerminal directly to check whether mod
View Tutorial          By: Pugal at 2009-10-15 03:38:08

5. Can you give me an example to create InetAddress f
View Tutorial          By: Vaibhav at 2009-12-15 23:37:49

6. It is very useful ....Thank U sooo much dear...
View Tutorial          By: Augustine Francis at 2014-06-24 16:55:21

7. thanks for this pertinent remark.
View Tutorial          By: mohammed at 2009-02-21 05:43:11

8. i want some brief realtime examples
View Tutorial          By: SURYA.C at 2015-08-20 05:06:18

9. nice examlpe but u can make it more easy frnd
View Tutorial          By: meghendra at 2009-02-14 00:21:31

10. please send detail informatoin about j2me.. send a
View Tutorial          By: Saranya at 2011-07-06 03:00:21