Windows XP

How to Install Apache ANT in Windows XP

Okay...
What u need?
1. Java SE Development Kit (JDK)
2. Apache Ant Binary..

At the first time u must install Java SE Development Kit. if u had done install that.. then skip this step
STEP 1 - INSTALLING JDK :
Download Newest Java SE Development Kit(JDK) Here.
Hint 4 Download the Newst:
- "Select Download JDK"
- "in the next page, Don’t Check Use Sun Download Manager" or u must ’learn more’ ckckckck
- "u must signup first when click download button.. it’s free.." or use this account 4 shortcut :P
-Username : noreply@yupisugianto.com
- Password : yupiscool
- Download that. and then install to your windows.. just click next and next until found finish button.. wkwkwkkwkw :p

STEP 2 - INSTALLING Apache ANT :
- take binary packet in zip file from Apache Ant official site : http://ant.apache.org/bindownload.cgi
- After download ANT,extract zip package in (for example) C:Ant
- open Windows "System Properties" (Control Panel > System)
- click "Advanced" Tab and click "Environment Variables" Button
- click "New" Button at "System Variables"
- fill "variable name" with "ANT_HOME", and fill "variable value" with "C:Ant" then click "OK" Button
- Find "Path" variable at "System Variables" and click that. and then click "Edit" Button
- ADD ";%ANT_HOME%in;" (without quote) at Variable value. then click "OK" button
- click OK again, and OK again.

Check whether Apache ANT works correctly or not.
In the command prompt, type: "ant -version"
if the result text is something like: "Apache Ant version 1.8.1 compiled on April 30 2010"
then your Apache ANT is work correctly on your Windows

Best Regards,

Yupi Sugianto, S.Kom



Related posts

Leave a Comment