[ https://issues.apache.org/jira/browse/FLINK-34072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806474#comment-17806474 ]
Yun Tang commented on FLINK-34072: ---------------------------------- [~Yu Chen] Already assigned, please go ahead. > 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 > Assignee: Yu Chen > Priority: Minor > 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)