You can define environment variables corresponding to tool locations (such as Ant, Maven, or JDK installations). This is useful if you want to run a tool from a shell script:

$ANT_1_8_0_HOME/bin/ant -version