Hazelcast dedicated nodes

Just create a simple class that calls HazelCast.init

There are a number of test classes in the com.hazelcast.examples package which can be run from the bin directory of the hazelcast distribution.


TL;DR

Newer version:

java -cp hazelcast-3.7.2.jar com.hazelcast.core.server.StartServer

Older version:

java -cp hazelcast-2.0.3.jar com.hazelcast.examples.StartServer

This will start a standalone Hazelcast instance


If you're using maven:

mvn -DgroupId=com.hazelcast -DartifactId=hazelcast -Dversion=3.7.2 dependency:get

cd ~/.m2/repository/com/hazelcast/hazelcast/3.7.2

will get you to the folder with the jar

Tags:

Java

Hazelcast