[
https://issues.apache.org/jira/browse/GEARPUMP-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16198113#comment-16198113
]
Xuetong Zhu edited comment on GEARPUMP-353 at 10/10/17 3:39 AM:
----------------------------------------------------------------
Thanks for your quick response. I think it might be caused by ssh, I set
JAVA_HOME in .bash_profile file, when ssh to other machine,it can not take
effect.
was (Author: xuetong zhu):
Thanks for your quick response. I think it might be caused by
{quote}ssh{quote} , I set JAVA_HOME in .bash_profile file, when ssh to other
machine,it can not take effect.
> Start cluster can not work when install Java in custom directory
> ----------------------------------------------------------------
>
> Key: GEARPUMP-353
> URL: https://issues.apache.org/jira/browse/GEARPUMP-353
> Project: Apache Gearpump
> Issue Type: Bug
> Reporter: Xuetong Zhu
>
> When I installed java in my custom directory by "jdk-8u121-linux-x64.tar.gz"
> file, java -verion command is right to perform, then executed
> start-cluster.sh command,I got some error like this:
> "which: no javac in
> (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
> which: no java in
> (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
> Error: JAVA_HOME is not defined correctly.
> We cannot execute "
> I had already installed the Java,Why perform the which command? Why JAVA_HOME
> is not defined correctly?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)