You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "appleyuchi (Jira)" <ji...@apache.org> on 2020/06/06 07:01:00 UTC

[jira] [Created] (FLINK-18166) JAVA_HOME is not read from .bashrc when start flink

appleyuchi created FLINK-18166:
----------------------------------

             Summary: JAVA_HOME is not read from .bashrc when start flink
                 Key: FLINK-18166
                 URL: https://issues.apache.org/jira/browse/FLINK-18166
             Project: Flink
          Issue Type: Bug
    Affects Versions: 1.10.1
            Reporter: appleyuchi


when I start flink

I got error

Please specify JAVA_HOME. Either in Flink config ./conf/flink-conf.yaml or as system-wide JAVA_HOME.

But I have already written:

export JAVA_HOME=~/Java/jdk1.8.0_131

in .bashrc and open a New Terminal to Fresh it.

Why my Flink can not recognise the variable set in environment ?

 

Thanks for your help~!

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)