gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huafeng Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEARPUMP-353) Start cluster can not work when install Java in custom directory
Date Tue, 10 Oct 2017 07:18:02 GMT

    [ https://issues.apache.org/jira/browse/GEARPUMP-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16198289#comment-16198289
] 

Huafeng Wang commented on GEARPUMP-353:
---------------------------------------

That's weird, did you set the other user's .bash_profile file?

> 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)

Mime
View raw message