TIKA Environment Setup for Applications

In the previous post Apache Tika Introduction, you have got an idea of apache Tika and it’s used. In this post, you will learn about the TIKA  environment setup for applications.

As a programmer, we can integrate Apache TIKA in window or Linux or another OS environment by using:

  • Command-line
  • Tika API
  • Command-line interface (CLI) of TIKA
  • Graphical User interface (GUI) of TIKA
  • The source code.

System Requirements

  • JDK Java SE 2 JDK 1.6 or above
  • Memory 1 GB RAM (recommended)
  • Disk Space No minimum requirement
  • Operating System Version Windows XP or above, Linux

Tika Environment Setup Steps

  • Step 1: Set JAVA_HOME and Path as mentioned on the below link.
    JAVA_HOME and PATH Setup Steps
  • Step 2: Add these libraries in your CLASSPATH or pom.xml to use TIKA APIs.

<dependency>
   <groupId>org.apache.Tika</groupId>
   <artifactId>Tika-core</artifactId>
   <version>1.6</version>
</dependency>
<dependency>
   <groupId>org.apache.Tika</groupId>
   <artifactId> Tika-parsers</artifactId>
   <version> 1.6</version>
</dependency>
<dependency>
   <groupId> org.apache.Tika</groupId>
   <artifactId>Tika</artifactId>
   <version>1.6</version>
</dependency>
<dependency>
   <groupId>org.apache.Tika</groupId>
   < artifactId>Tika-serialization</artifactId>
   < version>1.6< /version>
</dependency>
<dependency>
   < groupId>org.apache.Tika< /groupId>
   < artifactId>Tika-app< /artifactId>
   < version>1.6< /version>
</dependency>
<dependency>
   <groupId>org.apache.Tika</groupId>
   <artifactId>Tika-bundle</artifactId>
   <version>1.6</version>
</dependency>