Installing sensitivity.io on Java Windows

Here are the steps needed to integrate sensitivity.io into your java project:

1. Import the libraries

Import all files from the jar folder into your project.

If you have a maven project, import only sensitivityio-java-base-1.1.4.jar, sensitivityio-java-license-1.1.4.jar and sensitivityio-java-sds-1.1.4.jar and add the following dependencies into your pom.xml file.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
<dependencies>
                <dependency>
                          <groupId>com.squareup.retrofit2</groupId>
                          <artifactId>converter-gson</artifactId>
                          <version>2.4.0</version>
                </dependency>
                <dependency>
                          <groupId>org.apache.tika</groupId>
                          <artifactId>tika-core</artifactId>
                          <version>1.16</version>
                </dependency>
                <dependency>
                          <groupId>org.apache.maven</groupId>
                          <artifactId>maven-model</artifactId>
                          <version>3.3.9</version>
                </dependency>
      </dependencies>

2. Add the dlls

Copy the 32bit or 64bit dlls from the dll folder into your java library path. By default this is located at C:/Windows/System32.

3. Install vcredist

Install vcredist_x64 or vcredist_x86 depending on your architecture.

4. Build

Build your project and you’re ready to go. You can find the java documentation here to get started.