Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

POI

 
Dan Peterson
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All, I am new to POI. I went to the website and downloaded the zip file and extracted it. All of the jar files are in my ant lib directory. What else do I need to do to use POI. Just run the build script and that is it?

Thanks!
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

That depends on what you want to do with it Are you building a third-party project that happens to use POI, or do you want to use the API yourself for something? But in general, just putting it into your classpath (or lib directory, in the case of Ant) should be sufficient.
 
Dan Peterson
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to use POI in a third party application. I am going to create something to read and write excel files.

Did I need to extract the zip file to a folder? There isnt a JAR file in the extracted folder either.

Basically I just need to include the path to this folder in the ANT_HOME/lib directory?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Umm, I'm confused. POI does come in a jar file; could it be that you downloaded the source distribution instead of the binary distribution? Adding a path to ANT_HOME/lib will not do; you need to put the jar file into it. Do you see a "lib" directory which might contain it? If not, re-download the binary distribution.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic