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. wow , really good java sample , and i suggest to s
View Tutorial          By: kiemtheng at 2011-08-31 13:31:32

2. which Iden WebJal do i need to load up my music MI
View Tutorial          By: phil at 2007-10-18 17:51:19

3. can client use prinwriter?????
View Tutorial          By: sujay at 2009-02-20 00:23:33

4. i have a problem .
i am getting an error ca

View Tutorial          By: chaitra at 2011-11-16 07:28:29

5. hi..dud.......
please help me in my proj

View Tutorial          By: amar usakoyal at 2010-05-25 03:31:16

6. java.lang.IllegalArgumentException means usually t
View Tutorial          By: Seink at 2008-11-12 11:03:00

7. Good ,I like here&#65281; I send gmail with j
View Tutorial          By: jackhexl at 2009-04-02 03:29:44

8. I und. you guy's are using programming language to
View Tutorial          By: Ken at 2011-07-25 07:10:41

9. nice tutorial
View Tutorial          By: Amit at 2010-04-16 04:48:52

10. Yes it is exactly same as HTML. No change. In fact
View Tutorial          By: aathishankaran at 2008-08-03 05:22:38