Install the JDK

You should install JDK 8 on each machine on which you will install NiFi, if your version of Cloudera Manager is not already configured with JDK 8.

  1. Download JDK from the appropriate website.
  2. Run the installation command appropriate for your operating system:

    For RHEL/CentOS/SLES:

    yuminstalljava-1.8.0-openjdk-devel
    For Ubuntu:
    apt-get install openjdk-8-jdk