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



Comment Added by : Priyadarsan

Comment Added at : 2007-11-27 22:31:56

Comment on Tutorial : How to Send SMS using Java Program (full code sample included) By Emiley J.
it giving me error in following statment (using Linux machine)in file name serialConnection.java portId = CommPortIdentifier.getPortIdentifier(parameters.getPortName());
javax.comm: Can't find javax.comm.properties!

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

at javax.comm.CommPortIdentifier.loadDriver(CommPortIdentifier.java:244)
at javax.comm.CommPortIdentifier.<clinit>(CommPortIdentifier.java:109)
at SerialConnection.openConnection(SerialConnection.java:71)
at Sender.send(Sender.java:39)
at SMSClient.run(SMSClient.java:35)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: com.sun.comm.SunrayInfo.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:71)
at Sender.send(Sender.java:39)
at SMSClient.run(SMSClient.java:35)
at java.lang.Thread.run(Thread.java:619)


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. Design program with given algorithm---


View Tutorial          By: siddhant at 2014-10-11 13:19:25

2. Having this error while using comm.jsr for sending
View Tutorial          By: Amit Kumar at 2013-10-15 09:04:58

3. that is fifo rigth? how about lifo?
View Tutorial          By: galz at 2015-02-18 03:03:31

4. Thanks ,got useful information on toString().
View Tutorial          By: jaffar at 2011-08-01 10:15:04

5. Precise information in the article, however it wou
View Tutorial          By: Ketan at 2009-06-23 05:07:39

6. whoo... its very hard
View Tutorial          By: Anonymous at 2009-01-13 20:17:20

7. I very grateful with this program it expand my ide
View Tutorial          By: Nuhu Abdullahi at 2015-06-13 11:42:38

8. Awesome tutorial
View Tutorial          By: Anonymous at 2012-12-13 06:50:36

9. Excellent explanation. How can I take input from t
View Tutorial          By: Joe at 2013-03-31 11:02:28

10. main is not needed for a simple program...

View Tutorial          By: manoj at 2012-05-29 17:46:08