activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ville Skyttä (JIRA) <j...@apache.org>
Subject [jira] [Created] (ARTEMIS-698) Try to cope with systems without "which" for finding java
Date Wed, 24 Aug 2016 19:30:22 GMT
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)

Mime
View raw message