You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yun Tang (Jira)" <ji...@apache.org> on 2024/01/14 09:34:00 UTC

[jira] [Created] (FLINK-34072) Use JAVA_RUN in shell scripts

Yun Tang created FLINK-34072:
--------------------------------

             Summary: Use JAVA_RUN in shell scripts
                 Key: FLINK-34072
                 URL: https://issues.apache.org/jira/browse/FLINK-34072
             Project: Flink
          Issue Type: Improvement
          Components: Deployment / Scripts
            Reporter: Yun Tang
             Fix For: 1.19.0


We should call {{JAVA_RUN}} in all cases when we launch {{java}} command, otherwise we might be able to run the {{java}} if JAVA_HOME is not set.

such as:

{code:java}
flink-1.19-SNAPSHOT-bin/flink-1.19-SNAPSHOT/bin/config.sh: line 339: > 17 : syntax error: operand expected (error token is "> 17 ")
{code}




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