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



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've been satisfied with your tutorial site. Since
View Tutorial          By: Mark Harold F. Manguino at 2008-08-06 05:00:54

2. Nice Explanation.....
View Tutorial          By: Vinoth at 2012-06-20 09:37:21

3. no output is shown
View Tutorial          By: shubham bansal at 2015-02-21 15:36:31

4. I successfully connect to mysql server using:

View Tutorial          By: Arsalan at 2012-07-09 16:38:49

5. Each right shift divides number by 2...
View Tutorial          By: kunal at 2013-06-18 03:43:54

6. thanks this material is very helpful for me
View Tutorial          By: Anonymous at 2009-05-09 08:04:31

7. when i am trying to compile your program one error
View Tutorial          By: anindya at 2011-11-23 03:00:49

8. Thanks a ton sir.....
This is very informat

View Tutorial          By: Shailaja at 2009-12-27 10:43:42

9. Hey Narayanan, maybe you should check out Vesijama
View Tutorial          By: Benny Bottema at 2009-05-03 14:27:07

10. array is the one which can save similar data typed
View Tutorial          By: Cegonsoft Reviews at 2011-07-26 00:54:18