on the dos prompt enter the following commnd and u will be fine!>SET PATH = %PATH%;c:\java...(your java.exe file's directory)recompile the prg and then run it