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



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. Try this

import java.net.*;

View Tutorial          By: Asad at 2014-02-13 05:55:26

2. How to fetch a value from a database in dropdown b
View Tutorial          By: lara at 2014-11-19 09:02:43

3. Good Information... Plz give some more examples wi
View Tutorial          By: Uetian at 2010-04-01 04:26:55

4. Nice article...
View Tutorial          By: Sudhanshu at 2012-08-02 06:19:42

5. no output as well, i'm getting portlist and portId
View Tutorial          By: raul at 2015-10-09 20:05:02

6. Excellent example !!!
View Tutorial          By: mah at 2010-11-27 04:06:22

7. great thanks a lottttttttttttttttt
View Tutorial          By: reshma at 2011-06-13 04:35:44

8. Nice explanation with appropriate example
View Tutorial          By: VL at 2009-04-09 06:17:37

9. Hi
I tried to use this on a windows 7 32 b

View Tutorial          By: Asela at 2012-01-26 18:35:57

10. The tutorial, it's very easy to be understood

View Tutorial          By: newcomer at 2012-04-25 03:49:35