Program:-1
Set java path permanently
In Windows XP, go to Control Panel, choose "System," click on the "Advanced"
tab, click on the "Environment variables" button. In the lower list, "System
variables," click on Path:
Click "Edit" and at the end append
;C:\Program Files\Java\jdk1.5.0_09\bin
(or the path to the appropriate folder where the latest version of JDK is installed).
Do not put spaces before the appended path string.
Click OK