Github user clebertsuconic commented on the issue:
https://github.com/apache/activemq-artemis/pull/1634
@Haydend you don't need to set ARTEMIS.HOME as a variable.
All you do is:
from where you installed artemis:
"c:\program files\activemq-artemis\bin\artemis.cmd" create
"c:\anywhereyouwant\"
set PATH=%PATH%;c:anywhereyouwant\bin
artemis.cmd
and it should work...
once you set the path, the ARTEMIS_INSTANCE is picked from the profile
where that cmd is located at.
we could change to have the variable defined.. but it would be more work on
that... as I see your script is not working every usage. (like running from the
bin directly for instance).
---