If you are running the version of Apache Tomcat installed with this software, then stop the Tomcat server.
(Linux) $ $CATALINA_HOME/bin/shutdown.sh (Windows) C:\Windows>%CATALINA_HOME%\bin\shutdown
If you added any environment variables to your environment manually, then retrace your steps to remove them manually.
If you are using Windows 95 or 98 and you copied Ant to some short path like C:\ant, then delete the folder.
Run the self-extracting uninstaller, uninstaller.jar.
(Linux) $ java -jar install-dir/Uninstaller/uninstaller.jar (Windows) Double-click install-dir/Uninstaller/uninstaller.jar.
You may delete any remaining files at this point.