[
https://issues.apache.org/jira/browse/NIFI-7926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-7926.
----------------------------------
Resolution: Feedback Received
Apache NiFi 1.x is no longer maintained and no new release is planned on the
1.x release line. Marking as resolved as part of a cleanup operation. Please
open a new one with an updated description if this is still relevant for NiFi
2.x.
> Nifi-Toolkit .bat files not working under "Program Files"
> ---------------------------------------------------------
>
> Key: NIFI-7926
> URL: https://issues.apache.org/jira/browse/NIFI-7926
> Project: Apache NiFi
> Issue Type: Bug
> Components: Tools and Build
> Affects Versions: 1.12.1
> Environment: Windows 10, Windows Server 2019 Standard
> Reporter: johannes übleis
> Priority: Minor
>
> The nifi-toolkit .bat files seems to not be able to handle the path properly
> when the toolkit is saved under "Program Files" path or subdirectory of
> "Program FIles". The space in the path seems to not be properly escaped and
> results in the following error:
> Example:
> {noformat}
> C:\Program Files\test\nifi-toolkit-1.12.0\bin>cli.bat
> The JAVA_HOME environment variable is not defined correctly.
> Instead the PATH will be used to find the java executable.{noformat}
> {noformat}
> Error: Could not find or load main class
> Files\test\nifi-toolkit-1.12.0\bin\..\classpath;C:\Program{noformat}
> {noformat}
> C:\Program Files\test\nifi-toolkit-1.12.0\bin>{noformat}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)