Installing JDK

To ensure that Cloudera Edge Management functions correctly, you must install JDK on each machine where the Edge Flow Manager server will be installed.
  1. Install Java 17.
    1. Download the JDK package from the appropriate website.
    2. Install JDK on your system by running the following command.

      For RHEL/CentOS:yum install java-17-openjdk

  2. Set the JAVA_HOME environment variable.

    In environments with multiple Java versions, it is important to set the correct JAVA_HOME to avoid runtime issues.

    1. To set JAVA_HOME permanently, add the following to your shell profile.

      (For example: ~/.bashrc or /etc/profile.d/java.sh)

      export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
      export PATH=$JAVA_HOME/bin:$PATH
      
    2. Reload the environment or restart the shell session.
      source ~/.bashrc
  3. Verify the Java version to ensure that the correct Java version is in use before starting Edge Flow Manager.
    java -version

    The output should show Java 17.

After installing the JDK, ensure that you have the required database installed and properly configured for Cloudera Edge Management.