I have a book that says to do the following.
you can try the following:
SET ANT_HOME=my_path_to_ant_folder SET JAVA_HOME=my_path_to_jdk_folder SET PATH=%PATH%;%ANT_HOME%/bin;%JAVA_HOME%\bin;