OK children, playtime's over. We don't want to forget we have a "Be Nice" policy here.
Samanthi, in their own not-so-subtle way, people are saying that we're here to help thinking people, but we're not here to do people's thinking for them. After all, we don't get paid to do this, and some people would be so cynical as to say that when you come in asking such basic questions are these that maybe you're not really well-enough trained to be doing this kind of work. It's unfortunate, but there's a perception that any child can develop professional-grade software, and so some companies figure that they can just hire the cheapest person that comes along regardles of skills or talent. We know better and it causes resentment.
However, we've had our fun, so here's the basics.
Java command-line apps work based on 2 resources. The PATH, which is what the Windows OS uses to locate and execute programs, and the CLASSPATH, which is what the Java Virtual Machine uses to find Java classes and class resources. To run Ant from the command line, you need both.
That usually involves commands that look something like this:
You can set the ANT_HOME and PATH environment settings permanently using the Windows Control Panel. And, no, I'm not supplying further help. The rest is up to you.
"privilege" comes from the Latin words for "private" and "law" (legal) and dates to feudal times. To "claim privilege" meant that you were above the laws that applied to the common people.