Apache POI Installation

Apache POI installation is pretty easy, we can install Apache POI by using two different ways.

  • Download Jar files
  • Maven Dependency

To install POI, download a bundle of Jar files from official site poi.apache.org/download.html and use in the application. Following are the minimum required Jars.

  • poi-3.17.jar
  • poi-ooxml-3.17.jar
  • commons-codec-1.10.jar
  • poi-ooxml-schemas-3.17.jar
  • xml-apis-1.0.b2.jar
  • stax-api-1.0.1.jar
  • xmlbeans-2.6.0.jar
  • dom4j-1.6.1.jar

We can also set dependency in maven project. It need jar files that are used to run the application. We can use it in our maven project by providing the following dependencies.