You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2016/08/25 16:02:20 UTC

[jira] [Closed] (ARTEMIS-698) Try to cope with systems without "which" for finding java

     [ https://issues.apache.org/jira/browse/ARTEMIS-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

clebert suconic closed ARTEMIS-698.
-----------------------------------
    Resolution: Fixed

> Try to cope with systems without "which" for finding java
> ---------------------------------------------------------
>
>                 Key: ARTEMIS-698
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-698
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>    Affects Versions: 1.5.0
>            Reporter: Ville Skyttä
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> The artemis shell scripts fail to find java if JAVA_HOME is not set and "which" is not installed. Shell built-ins can be used as fallbacks in that case:
> - for zsh: whence -p (type -p exists but output is not appropriate)
> - for bash and ksh: type -p



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)