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



Comment Added by : Dineth

Comment Added at : 2011-07-15 16:54:31

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
I got Error...Why it is happen..??

please give me code for write in main method..
this the exception...please explain..why it happen

----

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 javaapplication6.SerialConnection.openConnection(SerialConnection.java:72)
at javaapplication6.Sender.send(Sender.java:48)
at javaapplication6.SMSClient.run(SMSClient.java:41)
at java.lang.Thread.run(Thread.java:619)
java.lang.NullPointerException
at javaapplication6.SerialConnection.openConnection(SerialConnection.java:89)
at javaapplication6.Sender.send(Sender.java:48)
at javaapplication6.SMSClient.run(SMSClient.java:41)
at java.lang.Thread.run(Thread.java:619)
BUILD SUCCESSFUL (total time: 0 seconds)


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. char *s;
s=(char *) melloc(sizeof(char)*3);

View Tutorial          By: URS at 2011-08-24 12:32:55

2. Just what i was looking for. tku.
View Tutorial          By: Chow Lim at 2008-03-21 01:46:52

3. Dear Friends, I get the following exception...

View Tutorial          By: NT.Jay at 2011-10-06 05:33:09

4. how i can used inheritence ?
View Tutorial          By: samee at 2008-02-16 12:54:27

5. hello
plz tell me what can i do for sending

View Tutorial          By: mahipal at 2009-05-12 10:30:57

6. i am confused with importing a package.is it equiv
View Tutorial          By: amit at 2011-07-04 04:16:04

7. good one !
View Tutorial          By: qasim at 2008-05-18 03:16:55

8. estimado lo que sucede es que solo cuando es Strin
View Tutorial          By: hormiga at 2013-01-07 00:11:54

9. Excellent.
Just one question... What is the

View Tutorial          By: HeilGates at 2010-08-04 13:38:12

10. it is good site , and i have cleared my doubts
View Tutorial          By: imtiaz at 2009-10-15 23:43:50