I want to use Apache POI library to parse excel files (old versions and newer versions of excel). So I was wondering what jars do i need to include from the Apache POI because in following link:
http://mvnrepository.com/artifact/org.apache.poi
I found lots of jars to be included, do I need to include them all?
If so, what is the latest stable version to be included, and does it work with Microsoft's Office 2010?
No, you don't have to include all of POI's dependencies. Maven's transitive dependency mechanism will take care of that. As noted you just have to express a dependency on the appropriate POI artifact. For example:
If you are not using maven, then you will need **
For an excel writer you might need the following:
The following works for me: