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.
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
Google Data API has dependencies on other libraries too. Is it
mentioned anywhere?
On Apr 19, 7:49 pm, "Lane LiaBraaten (Google)"
Santosh.