i am on the right directory that my class file is.
Joined: Oct 20, 2004
The class name is case sensitive - even in a Windows environment. Does your class start with a capital letter? [ September 22, 2005: Message edited by: Steve McCann ]
Joined: Mar 22, 2005
What kind of error message do you get? (Word af advice: Don't just say "it doesn't work" or "it doesn't start", say specifically what you're doing, what you expect to happen, and what actually happens, including all error messages.)
Is the current directory part of the classpath? Maybe you need to type "java -classpath . myprogram"