Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4910

Windows batch script doesn't like spaces in installation path

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.9.0
    • 5.9.1, 5.10.0
    • Broker
    • None
    • Windows 7

    Description

      If you unzip the binary distribution to "C:\Program Files\apache-active-mq-5.9.0" or any directory that contains a space in it, the bin\activemq.bat file fails to start. With the error message:

      Error: Could not find or load main class Files\apache-activemq-5.9.0\bin\..\conf\login.config

      Work-around - either unzip to a directory with no spaces, or set the ACTIVEMQ_HOME environment variable to the short version of the path, e.g.

      set ACTIVEMQ_HOME=c:\Progra~1\apache-activemq-5.9.0

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tabish Timothy A. Bish
            matthew.kusnierz@gmail.com Matt Kusnierz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment