You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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] A lot of information is available on the [http://jakarta.apache.org/commons/launcher/ Launcher website]. If you don't find the information you need you can always contact us using one of the [http://jakarta.apache.org/site/mail2.html#Commons mailing lists].

]]></ac:plain-text-body></ac:structured-macro>

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.

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

Uninstallation:
prunsrv //DS//PROXO

  • No labels