Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我制作了一个简单的截屏 java 程序,我想将该程序作为窗口服务运行,但我无法找到使用 WinRun4J 的正确方法,但在启动服务时出现错误错误 1053 服务没有响应启动和控制服务。请帮助一个简单的第三方,从我第一次做这件事开始并不复杂?
您可以用批处理文件 ( .bat) 包装它并将该批处理文件作为服务。distributionGradle eill 使用插件为您开箱即用。
.bat
distribution