windows服务部署jar
参考资料https://github.com/winsw/winsw
https://blog.csdn.net/xch_yang/article/details/129167189
https://github.com/winsw/winsw/blob/v3/docs/xml-config-file.md
存在问题使用winsw启动的java进程的默认用户为System,使用jps无法查找到非当前用户启动的java进程
使用方式配置文件下载exe程序和xml文件,修改xml文件内容
1234567891011<service> <id>catcher</id> <name>catcher</name> <description>This is catcher service.</description> <!-- java环境变量 --> <executable>C:\amer\jdk17\jdk-17.0.8\bin\java</exe ...