Did you set ANT_HOME? What
java version are you using?
I assumed you were following the installation instructions from
Ant manual:
Windows and OS/2
Assume Ant is installed in c:\ant\. The following sets up the environment:
set ANT_HOME=c:\ant
set JAVA_HOME=c:\jdk1.2.2
set PATH=%PATH%;%ANT_HOME%\bin
What do you mean by "nothing was recognised by my computer"?
After setting ANT_HOME, JAVA_HOME, and adding ANT_HOME's bin directory to the path (I usually add JAVA_HOME's bin as well) check what you get when you run these:
java -version
ant -version
ant -help
set ANT_HOME
set JAVA_HOME
set PATH
which java.exe
which javac.exe