You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Ville Skyttä (JIRA)" <ji...@apache.org> on 2016/08/24 19:30:22 UTC

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

Ville Skyttä created ARTEMIS-698:
------------------------------------

             Summary: 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


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)