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



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. very good
View Tutorial          By: Deepika at 2012-03-26 07:00:29

2. i am getting this error how to erase it please tel
View Tutorial          By: laxmibvsn at 2012-10-16 15:45:05

3. Hi. When i click on Install certificate. It tells
View Tutorial          By: jaris at 2011-10-18 11:00:41

4. Hi

Can you anyone please post me th

View Tutorial          By: Damodhar at 2009-05-06 04:12:33

5. I am getting the error below.

Tue J

View Tutorial          By: ganesh at 2008-07-01 05:35:31

6. How can i update status 1 and 0 in RMS ?
an

View Tutorial          By: maaz at 2011-06-16 02:54:28

7. its superb
View Tutorial          By: chotu jain at 2011-05-24 08:47:22

8. Hello all,

I need the codes for sen

View Tutorial          By: Fionna at 2009-07-13 00:34:45

9. easy to understand for newbie... :P
View Tutorial          By: Emraan at 2011-11-02 16:09:56

10. Bless you, bless you, bless you! You've kept me f
View Tutorial          By: KRuthenberg at 2009-09-25 19:42:55