<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I read the documentation for jpackage and found the <a
id="option-launcher-as-service"><code>--launcher-as-service </code></a>option.
The documentation states: "Request to create an installer that
will register the main application launcher as a background
service-type application." But that is everything i could find.<br>
</p>
<p>How is this supposed to work? From my understanding each service
provides a mechanism to be started and stopped. <br>
</p>
<p>I assume that the starting mechanism is the typical main(...)
method and not some implementation of a "Service" interface. <br>
</p>
<p>But how does the stopping work and how is a service supposed to
do an orderly shutdown?<br>
</p>
</body>
</html>