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)

Reply via email to