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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)