See if CLASSPATH was set by another program. If it was add .; to the variable list at the start. If the variable CLASSPATH was not set, try setting with a period only ('.'). This will allow you to run the Java class from the current directory (hopefully).