Hi Santosh,
Looks like you don't have the current directory on your classpath.
Try this:
java -classpath .;gdata-base-1.0.jar;gdata-client-1.0.jar HelloWorld
Wish you well,
-Lane
On Apr 19, 6:39 am, Well Wisher <[EMAIL PROTECTED]> wrote:
> -- Source file --
> /**
> * HelloWorld.java
> */
> public class HelloWorld{
>
> public static void main(String[] args){
>
> System.out.println("Hello world!");
> }
>
> }
>
> --- On the Console --
> #> javac HelloWorld.java
> #> java HelloWorld
> Hello world!
> #> java -classpath gdata-base-1.0.jar;gdata-client-1.0.jar HelloWorld
> Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld
>
> --- Configuration ---
> OS: Microsofy Windows XP, Professional
> Java: 1.5.0_07
>
> -- -- -- -- -- -- -- -- -- --
> What could the problem be?
>
> --
> Santosh.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---