• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

POI

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic