Project Setup
Set up a Java project for GridGain 9 — add the GridGain repository and the client dependency, and learn which GridGain modules to add for each feature.
This page describes how to set up a Java project for GridGain 9, and which GridGain modules you should add as dependencies.
Prerequisites
GridGain is tested on Oracle JDK 11, 17, 21, and 25 (LTS), as well as JDK 26 (STS). Other Java vendors are supported, but may have minor discrepancies in performance or stability.
Short-term support (STS) Java versions are supported only until the next STS release, Long-term support (LTS) versions are not affected by this policy.
Adding the GridGain Repository
GridGain modules are published to the GridGain repository, not to Maven Central. Add the repository to your build before declaring any GridGain dependency.
<repositories>
<repository>
<id>GridGain External Repository</id>
<url>https://www.gridgainsystems.com/nexus/content/repositories/external</url>
</repository>
</repositories>repositories {
maven {
url = "https://www.gridgainsystems.com/nexus/content/repositories/external"
}
}Adding the Client Dependency
The thin client provides the Table, Key-Value, SQL, Compute, Transactions, Catalog, and Data Streamer APIs used throughout the examples — the org.apache.ignite.* packages you see in the code samples. Add it as the single dependency for client applications:
<dependency>
<groupId>org.gridgain</groupId>
<artifactId>ignite-client</artifactId>
<version>9.1.28</version>
</dependency>implementation 'org.gridgain:ignite-client:9.1'All GridGain modules share the org.gridgain group ID and the 9.1 version. Always declare the version that matches your cluster.
Required Modules
The following table lists the GridGain modules an application developer adds as dependencies. Add ignite-client for any thin-client application; add the other modules only when you use the corresponding feature or integration.
ignite-client
Table API, Key-Value API, SQL API, Compute, Transactions, Catalog, Data Streamer, Continuous Queries — any thin-client application.
gridgain-map-structure
Distributed map data structures (the org.gridgain.structure API), in addition to ignite-client.
Next Steps
Use Java API — an end-to-end example using the modules above.
Java Client — full client configuration reference.
Table API — work with data once the client is connected.
See Also
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

