-1

I want to read/write excel files in Java (netbeans). There are a lot of information on how to do that with APACHE POI and I know that. My question is that, where should I put poi jar files? should I extract it in my local project?

Additionally, should I download the binary or src of the poi?

mahmood
  • 21,089
  • 43
  • 130
  • 209

2 Answers2

2

I agree that Maven is the perfect choice, but if you don't have time to study about it, just try to add the jar file to your project

Tuan Hoang
  • 406
  • 1
  • 8
  • 11
0

If you are using maven you only have to add this dependency to your pom.xml file

<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.15</version>
</dependency>

With this library you can process .xls and .xlsx files. If you are not using maven you should download the jar file and add it to your classpath