I want to read ms-excel file in java and I've also downloaded the compressed file containing 'poi' api by Apache( on the site http://jakarta.apache.org/poi) but where actually to unzip it? means in which path?? whether in org.Apache or some开发者_StackOverflow社区where else??
I just unpacked it in the same directory as my NetBeans project and created a library as shown here.
Addendum: Download the preferred file from Apache Poi and unzip it in a convenient place such as your project directory. I added poi-3.6-20091214.jar
as a new library from my NetBeans project directory.
$ ls -1 build build.xml manifest.mf nbproject poi-3.6 src test test.xls
Building form the command line is straightforward, too.
$ javac \ -cp poi-3.6/poi-3.6-20091214.jar \ -d build/classes \ -sourcepath src \ src/POIExcelReader.java
精彩评论