方法一)"/>
window下把jar包发布成服务(方法一)
1.首先我们需要先去下载 winsw
下载这两个文件
2.重命名文件(xml配置要与exe文件名称保持一致,与jar包文件名称一致)
3.配置xml
<service><!-- ID of the service. It should be unique across the Windows system--><!-- 服务名称 --><id>lawliet-juggle-webapp-commandPlat</id><!-- 服务名称 --><name>lawliet-juggle-webapp-commandPlat</name><!-- 服务描述 --><description>This service is a service created from a minimal configuration</description><!-- Path to the executable, which should be started -->
更多推荐
window下把jar包发布成服务(方法一)
发布评论