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. i'm really hoping this example was wrote before 19
View Tutorial          By: Anonymous at 2009-06-07 21:00:18

2. excellent
View Tutorial          By: amit gupta at 2012-07-03 12:31:31

3. Thank you for a great explanation now I'm in the l
View Tutorial          By: C++Noob at 2011-12-22 04:43:31

4. It worked. Thank U!
View Tutorial          By: Abhijit Kurane at 2010-12-27 11:01:48

5. Hi,
this is excellent stuff and I highly ap

View Tutorial          By: Nanda at 2007-11-02 04:58:30

6. help, i want to migrate my system (asp to jsp)

View Tutorial          By: gendull at 2007-02-25 21:03:20

7. Hi Shreya, in Linux, the COM ports are identified
View Tutorial          By: Ramlak at 2008-06-23 03:34:11

8. Hey guys it's working. If not then remove p.waitFo
View Tutorial          By: dileep at 2013-01-04 19:51:38

9. Well written article! Thank You ! My maven build i
View Tutorial          By: Nagesh at 2014-11-20 07:44:00

10. How to connect a webpage(which I have created for
View Tutorial          By: sam at 2012-01-24 10:10:52