0

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!

2
Contributors
2
Replies
13
Views
1 Year
Discussion Span
Last Post by collin_ola
1

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.

0

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

Thanks! :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.