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 to know about basic requirement for jdbc ,
View Tutorial          By: Amit sharma at 2009-03-19 04:10:24

2. im having problems with showDialog(int) who can i
View Tutorial          By: Samuel at 2013-06-30 05:13:38

3. Good hello world to start with struts2 provided yo
View Tutorial          By: Boby Thomas at 2009-04-01 22:25:03

4. plz i want afull code to send sms to mobile includ
View Tutorial          By: alosh at 2010-10-17 08:39:25

5. This works great.. :)

thanks a lot

View Tutorial          By: Ravi at 2010-07-03 23:34:46

6. Hey guys, can u help me out over here..
thi

View Tutorial          By: Ridge Fernandes at 2012-01-19 04:09:45

7. quite helpful
View Tutorial          By: kezyRoan at 2011-06-11 03:58:52

8. i wanted to know the rules how they are used like
View Tutorial          By: shlok gupta at 2012-03-24 11:44:24

9. .. nice one ..
.. aNg gLing nka2'amazing .

View Tutorial          By: ma'kHuLet at 2010-01-19 19:25:19

10. Thanks it worked for me after lot of search for CO
View Tutorial          By: VIRAJ at 2012-12-26 11:56:24