Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-698

Try to cope with systems without "which" for finding java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.0
    • 1.4.0
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              jbertram Justin Bertram
              scop Ville Skyttä
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: