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



Comment Added by : Santhosh Samban

Comment Added at : 2015-01-06 13:47:39

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
I am getting error like this:
javax.comm: Error loading javax.comm.properties!
null

java.io.IOException: javax.comm: platform driver class name = null
(Check 'driver' property in javax.comm.properties)

at javax.comm.CommPortIdentifier.loadDriver(CommPortIdentifier.java:243)

at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:109)
at SerialConnection.openConnection(SerialConnection.java:70)
at Sender.send(Sender.java:46)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Unknown Source)
Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: com.sun.comm.Sunr
ayInfo.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:46)
at SMSClient.run(SMSClient.java:39)
at java.lang.Thread.run(Unknown Source)

I have tried the things which r mentioned on Oracle site to set the dll, properties and jar setting
https://community.oracle.com/thread/1318406

Still same error, please help.
If anyone got solution please send solution to "[email protected]". 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. nice example!!
View Tutorial          By: gayathri subramanian at 2010-08-18 09:27:59

2. ya,i changed tht to GSM modem but stil there is a
View Tutorial          By: rajesh at 2008-12-15 01:56:35

3. Hi , instead of using localhost. I am using a mobi
View Tutorial          By: vimal at 2010-12-02 01:44:40

4. Hi,

I am using the code files for s

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

5. thanks ....
View Tutorial          By: shiva at 2011-02-28 11:16:32

6. Please give me a example of regionMatches().
View Tutorial          By: A. K. M. Saleh Sultan at 2009-10-05 14:52:25

7. Everything is running.... But it doesn't send....<
View Tutorial          By: uu at 2009-04-09 18:10:13

8. so good .to give easy understand
View Tutorial          By: ashok .my no 9618738732 at 2010-02-15 06:19:48

9. very helpful & gud tutorial...
thanks..

View Tutorial          By: Narpinder Sharma at 2011-06-27 03:12:20

10. pretty simply explained
View Tutorial          By: nivedita at 2011-06-09 07:32:58