Java应用程序注册到window服务 (四)

2014-11-24 11:36:14 · 作者: · 浏览: 23
*
# Wrapper Windows NT/2000/XP Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
# using this configuration file has been installed as a service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.
# Name of the service
wrapper.ntservice.name=InforGuard AGENT
# Display name of the service
wrapper.ntservice.displayname=InforGuard AGENT Application
# Description of the service
wrapper.ntservice.description=InforGuard AGENT
# Service dependencies. Add dependencies as needed starting from 1
wrapper.ntservice.dependency.1=
# Mode in which the service is installed. AUTO_START or DEMAND_START
wrapper.ntservice.starttype=AUTO_START
# Allow the service to interact with the desktop.
wrapper.ntservice.interactive=false
wrapper.ping.timeout=30
3、拷贝jre1.6运行时环境到根目录下
4、拷贝wrapper.jar和wrapper-window-x86-32.dll到lib目录下