XHope

Stay hungry, stay foolish.

跳至内容
  • 首页
  • 文章列表
  • 标签
  • 关于我
  • 留言

jar 注册 windows 服务,用户注销也能正常运行

下载 https://nssm.cc/download

  • 1.解压到目录下, cmd 打开

http://xhope.top/wp-content/uploads/2024/10/Picture1.png

  • 2.运行程序
nssm install LearSync

弹出框选择 “java -jar xxxx.jar” 所在的路径

http://xhope.top/wp-content/uploads/2024/10/Picture2.png

  • 3.运行服务

http://xhope.top/wp-content/uploads/2024/10/Picture3.png

参考阅读:https://www.cnblogs.com/gongcomeon/p/10316312.html

本条目发布于2024年10月31日。属于其他分类,被贴了 运维 标签。作者是Rick。

文章导航

← Linux自动打包上传并运行SpringBoot程序 @Sql 根据对象的字段查询其他信息 →

近期文章

  • 文件备份到 OSS
  • Docker 部署 sharp-admin 应用
  • Centos7 安装 jre 1.8
  • 使用 Let’s Encrypt 免费申请泛域名 SSL 证书,并实现自动续期
  • 手动部署 sharp-admin 应用
  • 创建服务,开机启动 sharp-admin 应用
  • Centos7 安装 Nginx
  • Centos7 安装 MySQL
  • Centos7 安装 MariaDB
  • docker 部署 sharp-admin + 1Panel 管理面板

标签

AJAX Ant Apache CSS CSS3 ES6 Excel Gulp Hibernate HTML HTML5 Java JavaScript jQuery Less Linux Mail Maven Memcached MySQL Node Oracle PHP Python Quartz SASS SCSS sharp-common sharp-database sharp-fileupload sharp-report Spring Spring Boot SpringMVC Spring Security ThinkPHP Vue Vue CLI webpack Yeoman 分布式 技术 数据库 架构 缓存

分类目录

  • HTML+CSS (29)
  • Java (99)
    • Spring (35)
    • Spring Boot (9)
    • Spring MVC (8)
    • Spring Security (16)
  • JavaScript (36)
  • jQuery (11)
  • Linux (13)
  • MySQL (4)
  • Nginx (3)
  • Node (10)
  • Oracle (4)
  • PHP (5)
  • Python (11)
  • Sharp Project (46)
  • TypeScript (1)
  • 其他 (41)

文章归档

2025年五月
一 二 三 四 五 六 日
« 四    
 1234
567891011
12131415161718
19202122232425
262728293031  
苏ICP备15028934号-1 Copyright by Rick.