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. this helps a lot
View Tutorial          By: Ashar at 2010-04-28 04:47:36

2. I am trying to execute the same code but still una
View Tutorial          By: Sona at 2015-06-11 18:35:13

3. Plz can someone help me, I copied the code above a
View Tutorial          By: Dse90 at 2010-02-10 04:28:34

4. hi..
recipient: 9994852342 message: chadru<

View Tutorial          By: chandrasekaran at 2009-05-04 09:00:47

5. Sir, can i execute the program from windows enviro
View Tutorial          By: krishna at 2014-04-08 07:05:30

6. whether the below command will work
Math o

View Tutorial          By: Gowrish Sagar at 2015-10-05 10:36:35

7. Thanks for the help, however I am having some diff
View Tutorial          By: Andrew at 2008-09-30 14:51:14

8. i m new in java plz send some programs of java usi
View Tutorial          By: supriyo at 2009-09-02 02:03:38

9. 1. U R NOT CONNECTED UR MOBILE WITH SYS
2.

View Tutorial          By: jAYGANESH at 2011-06-22 02:14:43

10. nice///
View Tutorial          By: MHARLON ALADEN at 2009-08-14 01:00:09