How to prepare for Atoti Java SDK development: license setup with ATOTI_LICENSE or -Datoti.license, access to ActiveViam artifacts, Java 25 and a build tool such as Maven
To build and run an Atoti Java SDK application, you need a license, access to ActiveViam artifacts, Java and a build tool
such as Maven. Sections 2 to 6 explain how to set up each one.
1 Prerequisites
The following prerequisites are set up in the sections below:
A license file is required to activate any Atoti installation. Request one through the ActiveViam
customer portal.The file Atoti.lic can be installed in four ways. A customized file name is also acceptable in place of the default
Atoti.lic.
How to install using the full path to the license file
To register the license path in the ATOTI_LICENSE environment variable, run the following command. Replace the example
path with the full path to the license file.Linux and macOS:
export ATOTI_LICENSE=/full/path/to/Atoti.lic
Windows, in PowerShell:
$env:ATOTI_LICENSE = "C:\full\path\to\Atoti.lic"
To define the license file location using a JVM system property, pass the full path including the file name.
-Datoti.license=/full/path/to/Atoti.lic
How to install using the Base64-encoded license
To encode the license file, run the following command and copy the output.Linux:
To pass the Base64-encoded value to the ATOTI_LICENSE environment variable, run the following command.Linux and macOS:
export ATOTI_LICENSE=<Base64EncodedLicense>
Windows, in PowerShell:
$env:ATOTI_LICENSE = "<Base64EncodedLicense>"
The Base64 encoding option is useful in container and cloud environments. The encoded value can be stored in a secret store.
To pass the Base64-encoded value as a JVM system property, use the following flag.
-Datoti.license=<Base64EncodedLicense>
3 How to get access to ActiveViam artifacts
ActiveViam release artifacts are available on ActiveViam’s JFrog Artifactory. A customer account is required to
download them. The download page lists the repository URLs.With Maven, add the repository and your credentials to your settings.xml file:
The Atoti Java SDK depends on open source libraries, mainly Spring Boot. The dependencies page
lists the top-level dependencies for each version.
5 How to install Java 25
The current version of Atoti Server requires Java 25. Any Java 25 distribution works, such as
Eclipse Temurin, Azul Zulu, Oracle JDK or Amazon Corretto. Register the path
to the JDK root directory in the JAVA_HOME environment variable.
6 How to install a build tool
Atoti Java SDK applications can be built with any Java build tool, such as Maven or Gradle. The sample project uses Maven.To use Maven, follow the Maven installation guide.