Microsoft SDK for Java

Jntsvc

The Microsoft® Windows NT® Service Executable Generator (jntsvc) generates self-contained, self-installing/uninstalling, redistributable executables (.exe files) for Microsoft® Windows NT® system services.

Use the following command to run jntsvc:

jntsvc /svcmain:<classname> [options] [@commandfile] <files>

Jntsvc Command-Line Arguments

/svcmain:<classname> Sets the name of the main service class file, which must be derived from com.ms.service.Service. For more information, see the /svcmain description.

Can be used multiple times to specify the service class of each service that may be run within the same process.

options One or more jntsvc options.
@commandfile A command file listing options and file specifications to be used by jntsvc. For more information, see Command Files.
<files> Names of the files that the executable will be generated from. You can specify class files and arbitrary data files.

Jntsvc Command-Line Options

/base /hookdll:hookdllname /out /r /r- /svcmain /v /w /?

See Also

Jntsvc Options

Jntsvc Usage Notes

com.ms.service

© 1999 Microsoft Corporation. All rights reserved. Terms of use.