Skip to content

Prerequisites

This tutorial requires the Aerospike Graph repository and three dependencies. Before proceeding, install the following:

Required

Docker

Docker runs the Aerospike Graph Service and Aerospike Database layers in pre-configured containers. Download and install Docker Desktop from the Docker website.

After installation, verify Docker is running:

Terminal window
docker --version

You should see output similar to:

Docker version 24.0.0, build abc1234
Java

This tutorial uses Java to connect to AGS and execute Gremlin queries. Install Java SE 17.

After installation, verify Java is available:

Terminal window
java -version

You should see output similar to:

java version "17.0.2" 2022-01-18 LTS
Java(TM) SE Runtime Environment (build 17.0.2+8-LTS-86)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.2+8-LTS-86, mixed mode, sharing)
Maven

This tutorial uses Maven to manage dependencies and build the project. Install Maven from maven.apache.org.

After installation, verify Maven is available:

Terminal window
mvn -version

You should see output similar to:

Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
Maven home: /usr/local/Cellar/maven/3.9.0/libexec
Java version: 17.0.2, vendor: Oracle Corporation

This tutorial uses the Apache TinkerPop Gremlin driver for Java (gremlin-driver) to communicate with AGS. Maven will automatically download this library and its dependencies when you build the project.

Optional

Git

While not strictly required, Git makes it easier to clone the repository. If you do not have Git installed, you can download the repository as a ZIP file from GitHub instead.

Install Git from git-scm.com.

Feedback

Was this page helpful?

What type of feedback are you giving?

What would you like us to know?

+Capture screenshot

Can we reach out to you?