Quote:
Originally Posted by
umen
ok and another thing is im running under cygwin ..
The cygwin environment is supposed to act like Unix, so you should not use ';' to separate class path because ';' is a statement separator in bash (and many other shells).
The NoClassDefFoundError exception means that it cannot find the com.umen.Main class. Your classpath says to find in the current directory and foo.jar for classes. Make sure you have a com/umen/Main.class at these locations. Watch out as Java is case sensitive so com/umen/main.class cannot be used to satisfy com/umen/Main.class even though Windows normally consider them the same.