Building Apache Ignite - linux-on-ibm-z/docs GitHub Wiki

Building Apache Ignite

General Notes:

  • When following the steps below please use a standard permission user unless otherwise specified.
  • A directory /<source_root>/ will be referred to in these instructions, this is a temporary writable directory anywhere you'd like to place it.

Apache Ignite binaries are available and can be downloaded from here. Following are the dependencies to be installed.

Note: Apache Ignite(v2.17.0) was verified at the time of creation of these instructions

1. Install Java

  • With IBM Semeru Runtime (previously known as AdoptOpenJDK openj9).

    • Download and install IBM Semeru Runtime (Java 11, Java 17 or 21) from here.
  • With Eclipse Adoptium Temurin Runtime (previously known as AdoptOpenJDK hotspot)

    • Download and install Eclipse Adoptium Temurin Runtime (Java 11, Java 17 or 21) from here.
  • With OpenJDK 11

    • RHEL (8.8, 8.10, 9.2, 9.4, 9.5)
      sudo yum install -y java-11-openjdk-devel
      
    • SLES 15 SP6
      sudo zypper install -y --auto-agree-with-licenses java-11-openjdk-devel
      
    • Ubuntu (22.04, 24.04, 24.10)
      sudo apt-get install -y openjdk-11-jdk
      
  • With OpenJDK 17

    • RHEL (8.8, 8.10, 9.2, 9.4, 9.5)
      sudo yum install -y java-17-openjdk-devel
      
    • SLES 15 SP6
      sudo zypper install -y --auto-agree-with-licenses java-17-openjdk java-17-openjdk-devel
      
    • Ubuntu (22.04, 24.04, 24.10)
      sudo apt-get install -y openjdk-17-jdk
      
  • With OpenJDK 21

    • RHEL (8.8, 8.10, 9.2, 9.4, 9.5)
      sudo yum install -y java-21-openjdk-devel
      
    • SLES 15 SP6
      sudo zypper install -y --auto-agree-with-licenses java-21-openjdk java-21-openjdk-devel
      
    • Ubuntu (22.04, 24.04, 24.10)
      sudo apt-get install -y openjdk-21-jdk
      
  • Set the Java environment

export JAVA_HOME=<path to Java installation directory>
export PATH=$JAVA_HOME/bin:$PATH

Note: At the time of creation of these build instructions Apache Ignite was verified with IBM Semeru Runtime JDK versions (11.0.14, 17.0.11, 21.0.4), Eclipse Adoptium Temurin Runtime JDK versions (11.0.14, 17.0.6, 21.0.2) and OpenJDK (11, 17, 21) versions provided in the distro package.

2. Start a node

To start an Ignite node, unzip binary to $SOURCE_ROOT and follow the steps given below.

export SOURCE_ROOT=/<source_root>/
export IGNITE_HOME=$SOURCE_ROOT/<apache_ignite_binary_folder>
cd $SOURCE_ROOT/<apache_ignite_binary_folder>
bin/ignite.sh

References: