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. i am getting the erorr such as:::::
Error l

View Tutorial          By: supriyo at 2011-02-21 13:17:00

2. How to write data from keyboard to a file in java?
View Tutorial          By: Ashish Ranjan at 2011-07-13 01:04:38

3. good one
View Tutorial          By: yogesh at 2010-07-24 21:18:24

4. ,Hi, (VS2008, VB.Net
I used the above code,

View Tutorial          By: Pat at 2012-06-27 17:30:37

5. I have a small query: Is it interface allow method
View Tutorial          By: vijay at 2012-04-20 10:34:30

6. Excellent!!!!!!!!!!!!
View Tutorial          By: Ramana at 2009-01-02 19:31:58

7. thank you, this best for student like us,
View Tutorial          By: Srinath at 2012-05-12 15:04:03

8. simple examples that i can understand ,.,,by the w
View Tutorial          By: Chriskuang at 2015-03-19 03:05:59

9. Very Nice and Perfectly Understandable.....
View Tutorial          By: rex at 2015-04-16 12:27:03

10. Thanks very use full ..
View Tutorial          By: bal mukund at 2012-08-21 05:42:36