Run the below statement in command prompt and compile & execute javafiles.set PATH=%PATH%c:\jdk1.1.8\bin;