fix for: https://issues.apache.org/jira/browse/AMQ-4623 Use the configured _REALPATH variable to execute wrapper.exe so that it can be run either in console or from double click in explorer. Tested on Windows 7 x64