Saturday, 28 December 2013

HOW TO SET ENVIORMENT VARIABLES(ANT)

1>Go to my computer

2>Right click,select advanced system settings

3>Click advanced

4>Select enviorment variables

5>Select new

6>Give variable name  eg: ANT_HOME,give value :D:\ant(path where ant file resides)

7>Go down,select path ,go at end give ; then this path->%ANT_HOME%\bin;

8>You have to create another variable select new: give name eg:java_home,value:C:\Oracle\Middleware\jdk160_29

(2nd variable to set jdk160_29 ,ie jre path otherwise it will throw java.exe error)

9>Click ok,then test it,go to ant path(mine: D:\ant) ,type :ant -v or ant -h ,it should reply something


No comments:

Post a Comment