Hazelcast IMDG Standard Support has expired. Extended support for version 4.1 ends in April 2024. Extended support for version 4.2 ends in September 2024.

We recommend that you try Hazelcast Platform.

In Hazelcast Platform, we’ve combined the in-memory storage of IMDG with the stream processing power of Jet. Find out more in our Platform documentation.

The following topics are a good place to start:

Maven

As a prerequisite, make sure you have Java installed on your system. If you’re using JDK 11 or later, see Running in Modular Java. For the list of supported Java versions, see Supported Java Virtual Machines.

You can find Hazelcast in standard Maven repositories. If your project uses Maven, you do not need to add additional repositories to your pom.xml or add hazelcast-4.2.8.jar file into your classpath (Maven does that for you). Just add the following lines to your pom.xml:

  • Hazelcast Open Source Edition

  • Hazelcast Enterprise Edition

<dependencies>
    <dependency>
        <groupId>com.hazelcast</groupId>
        <artifactId>hazelcast-all</artifactId>
        <version>4.2.8</version>
    </dependency>
</dependencies>
<repositories>
    <!-- You need to define following repository: -->
    <repository>
        <id>Hazelcast Private Release Repository</id>
        <url>https://repository.hazelcast.com/release/</url>
    </repository>
    <!-- Optional repository if you want to use latest snapshots -->
    <repository>
        <id>Hazelcast Private Snapshot Repository</id>
        <url>https://repository.hazelcast.com/snapshot/</url>
    </repository>
</repositories>

<dependencies>
    <!-- You also need to define following dependencies: -->
    <dependency>
        <groupId>com.hazelcast</groupId>
        <artifactId>hazelcast-enterprise-all</artifactId>
        <version>4.2.8</version>
    </dependency>
    <!-- Optional dependency for including JavaDoc -->
    <dependency>
        <groupId>com.hazelcast</groupId>
        <artifactId>hazelcast-enterprise-all</artifactId>
        <version>4.2.8</version>
        <classifier>javadoc</classifier>
    </dependency>
</dependencies>

Above dependency (hazelcast-all) includes both member and Java client libraries of Hazelcast IMDG. A separate Java client module and dependency do not exist. See here for the details.