Skip to main content
shashikumar
Silver ⭐️
Jul 14, 2022 10:20 AM UTC
Solved

Do we need JDK to be installed or JRE is enough to run Apache NIFI.

HI,

I want NIFI to be run with the minimum resource needed. my concern is whether I can run NIFI with JRE or JDK is also required. will I face any issues in future while scaling up? 

I am using NIFI 1.15.3.

MattWho
MattWhoAnswer
Titanium ⭐️⭐️
Jul 14, 2022 1:31 PM UTC

@shashikumar 

NiFi only requires the the Java Runtime Environment (JRE).  Latest versions of NiFi support both Java 8 or Java 11:
system_requirements 

 

The JDK contains, in addition to the JRE, additional development tools like compilers, debuggers, etc.  These may be useful to you depending on whether or not you intend to compile java code within your dataflow (not a requirement of any components like processors, controller services, reporting tasks, etc included with NiFi) or create your own custom NiFi components.

If you found this response assisted with your query, please take a moment to login and click on "Accept as Solution" below this post.

Thank you,

Matt

3 replies

MattWho
Titanium ⭐️⭐️
MattWhoAnswer
Titanium ⭐️⭐️
Jul 14, 2022 1:31 PM UTC

@shashikumar 

NiFi only requires the the Java Runtime Environment (JRE).  Latest versions of NiFi support both Java 8 or Java 11:
system_requirements 

 

The JDK contains, in addition to the JRE, additional development tools like compilers, debuggers, etc.  These may be useful to you depending on whether or not you intend to compile java code within your dataflow (not a requirement of any components like processors, controller services, reporting tasks, etc included with NiFi) or create your own custom NiFi components.

If you found this response assisted with your query, please take a moment to login and click on "Accept as Solution" below this post.

Thank you,

Matt

Translate
shashikumar
Silver ⭐️
Jul 21, 2022 8:24 AM UTC

hi @MattWho 
Thanks for the reply. this is the exact information I wanted.

Translate
VidyaSargur
Community Manager
Community Manager
Jul 18, 2022 9:04 AM UTC

@shashikumar, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. 

Translate
Regards, Vidya Sargur Madabhushi| Senior Community Manager | Was your question answered? Make sure to mark the answer as the Best Answer. If you find a reply useful, say thanks by clicking on the thumbs up button.