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



Comment Added by : Yanosh

Comment Added at : 2009-07-16 05:19:38

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

I tried use this code:

package sms;

public class Main {

public static void main(String[] args) {
// TODO code application logic here
SMSClient sc = new SMSClient(0);
sc.sendMessage("505050702","Hello");
}

}

And I have error when tried to run in NetBeans and in console:
Exception in thread "main" java.lang.NoClassDefFoundError: sms/SMSClient (wrong name: SMSClient)

Pls. help
Yanosh


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. Hello,
i was run your given program in ecli

View Tutorial          By: vishnu chauhan at 2013-01-24 11:42:16

2. This example is very good and useful. I request yo
View Tutorial          By: Ambarisha Malladi at 2010-02-10 22:50:38

3. Gracias. Ya me estaba poniendo nervioso. No pod&At
View Tutorial          By: Manuel at 2015-07-30 11:34:54

4. when I exported the data to excel there is a value
View Tutorial          By: mizhelle at 2015-10-10 13:17:56

5. hi ..........
the code is worked for me....

View Tutorial          By: pradeep at 2012-01-25 06:30:14

6. Good and Effective example
thank you

View Tutorial          By: Perumal Naren at 2009-12-30 03:10:50

7. I need complete steps for execution
Severa

View Tutorial          By: DASAn at 2011-08-10 10:10:36

8. Good explaination, easy to understand
thank

View Tutorial          By: channaveer at 2010-05-02 05:03:21

9. this total example is copy paste from the Herbert
View Tutorial          By: Parna at 2012-06-03 05:16:37

10. sir, thanks sir. very help to me. its simple and e
View Tutorial          By: kannathasan.M at 2012-10-01 07:59:28