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 "santhoshthittayil@gmail.com". Its urgent!!


View Tutorial



Ask a Question

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. hello!
I am so confused and a total beginne

View Tutorial          By: Jena at 2011-06-11 17:39:39

2. After coming to second page again I want to go to
View Tutorial          By: Bhagi at 2012-09-23 06:25:54

3. This tutorial is very much useful for me to develo
View Tutorial          By: R. Lawrance at 2009-07-26 22:03:15

4. i want to how to run a package and compile also
View Tutorial          By: sandhya at 2015-06-25 09:04:03

5. U did'nt explain super(a,B)
View Tutorial          By: Rafiqullah at 2013-12-16 10:30:41

6. Your explanation is good but, it will be better i
View Tutorial          By: Jabaraj at 2010-03-22 06:02:33

7. It won't work for me ;S
View Tutorial          By: jordi at 2011-01-21 08:22:45

8. it's real nice explanation
View Tutorial          By: Shreya at 2010-09-10 11:24:11

9. nice 1
View Tutorial          By: vivek at 2013-03-19 16:25:47

10. hey i can write more simple example of this pointe
View Tutorial          By: shruti at 2010-03-03 09:44:58