If java is still unable to find your program, you might have to change your CLASSPATH variable. The CLASSPATH variable is where the java program looks to find classes to include when it executes.
In your CLASSPATH setting, make sure that . is included, to indicate the present working directory, as well as any custom directory you make to store class files, such as C:\garage\classes.
In Windows 2000, set the CLASSPATH like this:
Click Start > Settings > Control Panel > System > Advanced Tab > Environment Variables.
Find the one called CLASSPATH (or make it if it doesn't exist) and add the preceding directories to it.
Create this variable as a system variable if it does not exist. Also, make sure that the JAVA_HOME ...