Sunday, July 4, 2010

PATH

set the PATH permanently.

Start the system editor.> start-run- sysedit

Go to the window that is displaying AUTOEXEC.BAT

C:> edit c:\autoexec.bat
   c:> path
eg:
C:>PATH C:\WINDOWS;C:\WINDOWS\COMMAND;c:\jdk1.6\bin

--------------------------------------------------------------

set ANT_HOME=c:\ant\bin

set JAVA_HOME=c:\Program Files\java\jdk1.6.0\

set PATH=%PATH%;%ANT_HOME%;%JAVA_HOME%

No comments:

Post a Comment