[
https://issues.apache.org/jira/browse/KNOX-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tamás Marcinkovics updated KNOX-3153:
-------------------------------------
Summary: Fix Java command invocations in knoxcli.sh (was: Fix Java version
detection in knoxcli.sh)
> Fix Java command invocations in knoxcli.sh
> ------------------------------------------
>
> Key: KNOX-3153
> URL: https://issues.apache.org/jira/browse/KNOX-3153
> Project: Apache Knox
> Issue Type: Task
> Components: KnoxCLI
> Affects Versions: 2.1.0
> Reporter: Tamás Marcinkovics
> Assignee: Tamás Marcinkovics
> Priority: Major
> Labels: easyfix
> Fix For: 2.1.0
>
>
> In knoxcli.sh, java 17 version is not detected correctly if the java command
> is not in the PATH.
> [https://github.com/apache/knox/blob/dfcde4df9638397e2387d983c387f003e34bd721/gateway-release/home/bin/knoxcli.sh#L66]
> As the script uses the JAVA variable for launch, the version command should
> also use the same.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)