[ 
https://issues.apache.org/jira/browse/NIFI-12649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17812362#comment-17812362
 ] 

Michael W Moser commented on NIFI-12649:
----------------------------------------

Hello [~simon.aubert] .  Apache NiFi 2.0.0 requires a Java 21 runtime 
environment or higher.  The error you attached shows that you are using Java 
17.  This will not work.

If you open a command window first and then type the run-nifi.bat command, then 
the window should not close.

> Explain why run-nifi.bat closes
> -------------------------------
>
>                 Key: NIFI-12649
>                 URL: https://issues.apache.org/jira/browse/NIFI-12649
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Tools and Build
>    Affects Versions: 2.0.0-M1
>         Environment: All
>            Reporter: Simon AUBERT
>            Priority: Major
>         Attachments: image-2024-01-21-10-03-26-177.png
>
>
> Hello all,
> Here a frustrating issue that can be solved very easily : I follow the 
> instructions here [https://nifi.apache.org/documentation/v2/] in order to use 
> nifi on windows.
> So I launched the run-nifi.bat and it closes the windows almost immediatly, 
> before I can read the message and apparently without logging anything. I lost 
> a lost of time to find the issue... (a not up to date jdk). How did I do ? By 
> using Greenshot to make a screenshot and luckily, I got the exact message.
> !image-2024-01-21-10-03-26-177.png!
> So I would like a way to know why this window closes. I guess logging the 
> issue to a file can be doable.
> Best regards,
> Simon



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to