That runs it as long as I keep the cmd line window open, here's the output:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
I entered: java -jar "%PROGRAMFILES%\QZ Tray\qz-tray.jar"
Sep 03, 2015 5:48:29 PM qz.utils.ShellUtilities execute
INFO: Executing: [C:\Windows\system32\reg.exe, query, HKCU\Software\Microsoft\Wi
ndows\CurrentVersion\Internet Settings\Zones\1, /v, Flags]
Sep 03, 2015 5:48:29 PM qz.auth.CRL$1 run
Sep 03, 2015 5:48:29 PM qz.utils.ShellUtilities execute
INFO: Executing: [C:\Windows\system32\reg.exe, query, HKCU\Software\Microsoft\Wi
ndows\CurrentVersion\Run\, /v, QZ Tray]
Sep 03, 2015 5:48:29 PM qz.deploy.DeployUtilities loadSSLProperties
INFO: SSL properties file from C:\Program Files\QZ Tray\qz-tray.properties
2015-09-03 17:48:29.850:INFO::main: Logging initialized @1296ms
2015-09-03 17:48:29.913:INFO:oejs.Server:main: jetty-9.2.z-SNAPSHOT
2015-09-03 17:48:29.944:INFO:oejs.ServerConnector:main: Started ServerConnector@
2015-09-03 17:48:29.975:INFO:oejs.ServerConnector:main: Started ServerConnector@
bb4df8{SSL-HTTP/1.1}{localhost:8181}
2015-09-03 17:48:29.975:INFO:oejs.Server:main: Started @1427ms
Sep 03, 2015 5:48:29 PM qz.common.TrayManager$14 run
INFO: Tray Message: Server started on port(s) 8182, 8181
Sep 03, 2015 5:48:29 PM qz.ws.PrintWebSocketServer runServer
INFO: Server started on port(s) 8182, 8181
Sep 03, 2015 5:48:30 PM qz.auth.CRL$1 run