[
https://issues.apache.org/jira/browse/FLINK-18166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Metzger closed FLINK-18166.
----------------------------------
Resolution: Cannot Reproduce
I assume the problem has been resolved. I recommend asking such questions on
the mailing list: [https://flink.apache.org/gettinghelp.html#user-mailing-list]
> 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
> Components: Deployment / Scripts
> Affects Versions: 1.10.1
> Reporter: appleyuchi
> Priority: Major
>
> 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)