Reference: Starting and Stopping the standalone server
Please note that HornetQ requires a Java 6 or later runtime to run. Both the run and the stop scripts use the config under config/stand-alone/non-clustered by default. The configuration can be changed by running ./run.sh ../config/stand-alone/clustered or another config of your choosing. This is the same for the stop script and the windows bat files.