Install Apache Ant. The POI build system requires Apache Ant version 1.8 or later. Specifically the build has been tested to work with Ant version 1.8.4 and 1.9.4.
poi.apache.org