[ https://issues.apache.org/jira/browse/GEARPUMP-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16198113#comment-16198113 ]
Xuetong Zhu commented on GEARPUMP-353: -------------------------------------- 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)