Hey,

I am trying to make use of the apache POI in my Java project in Eclipse. I previously tried using jxl but what I wanted to do didn't seem so simple with it. With jxl, all I had to do was import a jar.

I don't seem to be able to find a jar in the apache download.

Help please?

Thanks!

Recommended Answers

All 2 Replies

It's in the zip.

2015-04-17--1429300746_779x460_scrot.png

If you have a lot of different file types to work through, perhaps Apache Tika is an alternate solution to your problem. It uses POI and many others, but combines them into a single API for mimetype detection and metadata/content extraction.

Alternatively, if you're using Maven you can just add

<dependency>
    <groupId>org.apache.poi</groupId>
    <artifactId>poi</artifactId>
    <version>3.11</version>
</dependency>

for POI or

<dependency>
    <groupId>org.apache.tika</groupId>
    <artifactId>tika-app</artifactId>
    <version>1.7</version>
</dependency>

for Tika.

No need for manual downloads that way. You can read up on Maven in Eclipse here.

Ah. I was downloading the wrong files from the Apache website. I found the jar's in the binary download.

Thanks! :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.