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



Comment Added by : jugal

Comment Added at : 2009-02-20 02:14:23

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
hi Emiley J.,
i am geting this error while runing the program,

#######################################

java.io.IOException: Error instantiating class com.sun.comm.Win32Driver
com.sun.comm.Win32Driver
at javax.comm.CommPortIdentifier.loadDriver(CommPortIdentifier.java:239)
at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:109)
at SerialConnection.openConnection(SerialConnection.java:70)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: com.sun.comm.SunrayInfo.isSessionActive()Z
at com.sun.comm.SunrayInfo.isSessionActive(Native Method)
at com.sun.comm.Portmapping.registerCommPorts(Portmapping.java:155)
at com.sun.comm.Portmapping.refreshPortDatabase(Portmapping.java:100)
at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:138)
at SerialConnection.openConnection(SerialConnection.java:70)
at Sender.send(Sender.java:44)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Thread.java:619)
##########################################
i tried all the things that are written in javax.comm api's readme. but still get the same exception plz hrlp me out its urgent


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. Hi,

I am using the code files for s

View Tutorial          By: Utsav at 2009-07-14 01:29:06

2. i don't use mysql,but oracle.
how to resolv

View Tutorial          By: Mike Zhu at 2009-06-23 19:20:06

3. It is a good tutorial but I think the "Instru
View Tutorial          By: Jaypee at 2010-10-10 22:40:50

4. Please note that the above code does not work with
View Tutorial          By: mk at 2012-02-14 15:37:02

5. Thanks it did help to get complete clarity
View Tutorial          By: Vivek The Great at 2012-05-07 17:31:32

6. can this code communicate with other pc that using
View Tutorial          By: lolo at 2011-10-28 09:14:30

7. HOW TO SET PASSWORD IN JAVA.....
View Tutorial          By: NAKUL at 2012-12-14 05:23:16

8. It's very useful to j2me beginners
View Tutorial          By: Naresh Padam at 2009-01-05 05:52:53

9. i like java but java many program are confused i a
View Tutorial          By: savaliya hardik at 2012-09-11 03:30:10

10. I like your linked list program. i've one doubt di
View Tutorial          By: silambarasan at 2013-01-25 03:11:48