You will give path in "Autoexec.bat" file open in edit mode give path and saveit.And close it once you run simple give autoexec press enter and run your javaprogramit will be work.