Installing MiNiFi Java on Windows

Learn how to install the MiNiFi Java Agent on Windows.

Ensure that you meet the prerequisites:
  • Install JDK 21 64 bit.
  • Install Java to C:/java instead of C:/Program Files because recent Windows versions mark everything in C:\Program Files as read only.
  • Set the JAVA_HOME environment variable using the 8.3 style naming conventions. For example: C:\Program\jdk21.
  • Ensure that the JAVA_HOME environment variable is pointing to a 64-bit JRE/JDK.
  • Ensure that the Domain user has administrator privilege.
  • Ensure that your system meets the minimum memory requirement for Windows which is 4 GB.
  1. Download the MiNiFi Java installer on your PC through the paywall.


  2. Double-click the executable file.
    The CEM MiNiFi setup wizard appears, as shown in the following image:


  3. Configure the following parameters:
    • Package directory

      The installation directory of MiNiFi.

    • java command
      The path of the Java installation you would like to use.
    • java.arg.2

      Sets initial and minimum heap size of JVM.

    • java.arg.3

      Sets the maximum heap size of JVM.

    • MiNiFi service username/password

      The MiNiFi service is configured to be executed by either a local user in the computer, or a domain user in the Active Directory. These parameters are the username/password pairs for the given user. For detailed user configuration, see Configuring users for running MiNiFi Java on Windows.

    • Enable C2
      If you want to integrate your agent with EFM you can set up the following basic C2 parameters:
      • Agent class: The agent class name.
      • Agent identifier: The ID of your agent. If you skip this, an unique identifier is generated.
      • Server heartbeat url: The heartbeat URL of EFM.
      • Server acknowledge url: The acknowledge URL of EFM.
      • Heartbeat period: The frequency of heartbeats in milliseconds.
      • Enable C2 Security: If you would like to communicate with EFM in a secure way, you can set up C2 security parameters after you enable this checkbox.
        1. Select the truststore location/password and truststore type from the dropdown.
        2. Select the keystore location/password and truststore type from the dropdown.
  4. Click Install.
    Windows starts configuring NiFi MiNiFi, as shown in the following image:


  5. Click OK when installation completes.


  6. Search for services in the Start menu of your PC and open it, as shown in the following image:


    You can also run services by pressing [Windows key + R] and then typing services.msc in the Open field, as shown in the following image:


    After you click OK, the Services window appears.


  7. In the Services window, double-click Apache MiNiFi.
    The Apache MiNiFi Properties (Local Computer) window appears.


  8. Check the services setup and click OK.
  9. In the Task Manager window confirm whether the process is running.


  10. Exit or close the window when done.