Skip to content

Java

Estimated reading time: 1 minute

Installation-

Coral API Java artifacts are hosted in InAccel Repository.

<repository>
    <id>inaccel</id>
    <name>InAccel Repository</name>
    <url>http://jfrog.inaccel.com/artifactory/libs-release</url>
</repository>

You can add a Maven dependency with the following coordinates:

<dependency>
    <groupId>com.inaccel</groupId>
    <artifactId>coral-api</artifactId>
    <version>1.5</version>
</dependency>

Full Java API documentation is available here.


Compilation-

If you are not familiar with Maven you can still compile your applications by manually resolving Coral API dependency. For that reason you should include in the classpath the coral-api-1.5.jar.

Below you can see an example of compiling the Example.java application:

$ javac -cp .:/path/to/coral-api-1.5.jar Example.java