File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes POI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "POI" Watch "POI" New topic
Author

POI

Dan Peterson
Greenhorn

Joined: Jan 09, 2006
Posts: 5
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
Marshal

Joined: Mar 22, 2005
Posts: 42919
    
  68
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

Joined: Jan 09, 2006
Posts: 5
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
Marshal

Joined: Mar 22, 2005
Posts: 42919
    
  68
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: POI