Launcher Overview
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f0ef6dd0-37cc-4703-b87d-7219c13cbb30"><ac:plain-text-body><![CDATA[ {{ http://jakarta.apache.org/commons/launcher/images/launcher-logo-white.png}} | [http://jakarta.apache.org/commons/launcher/ Commons-Launcher] is designed to be a cross platform Java application launcher. It eliminates the need for a batch or shell script to launch a Java class.[BR] |
External Resources
Do you have a good example, add it here! |
The launcher example was originally written and contributed by \[http://wiki.tryphon.org/WikiHome/Alban /FrontPage Alban Peignier\]. You can find the original version and other usefull information on his wiki page http://wiki.tryphon.org/JavaWiki/CommonsLauncher. Wiki Markup
FAQ
What is the earliest JRE that Launcher is compatible with?
Is it possible to use the commons daemon to run a executable as Windows service?
Yes, not only java applications can be installed as windows service. Similar to the Srvany.exe tool any other exe can be used.
Sample: Proxomitron (http://www.proxomitron.info/) as windows service
Installation:
prunsrv //IS//PROXO --DisplayName="Proxomitron Proxy" --Description="Proxomitron Web Proxy" --StartImage=c:\proxomitron\proxomitron.exe --StartPath=c:\proxomitron --Type=interactive --LogLevel=DEBUG --LogPath=c:\proxomitron\logs --LogPrefix=procrun.log --Startup=manual --StdOutput=c:\proxomitron\logs\stdout.log --StdError=c:\proxomitron\logs\stderr.log
...