You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yu Chen (Jira)" <ji...@apache.org> on 2024/01/14 10:10:00 UTC
[jira] [Commented] (FLINK-34072) Use JAVA_RUN in shell scripts
[ https://issues.apache.org/jira/browse/FLINK-34072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806446#comment-17806446 ]
Yu Chen commented on FLINK-34072:
---------------------------------
Hi [~yunta] , I'd like to take this ticket if you don't mind.
> 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
> 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)