Jenkins does not start as a Windows service

综合编程 Hello, buddy! (源链)

I have followed the steps to run jenkins as a window service . Followed from URL :

But jenkins is not starting as a window service. When i did some research i found that the problem is with following jenkins.xml file.

Attached as an image. jenkins.xml snapshot

When i change this java keyword to specific jdk path (C:Program FilesJavajdk1.8.0_60binjava.exe) it works but without this jenkins service not started.

So just wanted to know what is exact meaning of java word inside executable tag?

If the executable tag just contains the word ‘java’ then java is expected to be in your PATH system variable.

So if you were to open a command prompt and type ‘java’, it should launch java. If it doesn’t then Java isn’t on your PATH and you will have to specify the full path to the executable, or alternatively add java to the PATH.

Googling “add to path windows” gives plenty of instructions on how to do this.


Date Writer – 快速插入当前日期时间 可能你需要在一天当中输入多次日期、时间信息,每次都让你觉得很烦躁,有没有什么能够让你更快速地插入当前日期、时间的工具呢?答案是有的,像今天我们介绍的这款 Date Writer 就是其中之一。 先安装好 Date Writer ,之后运行后它会有一个使用引导。其实用法也是相当简单,按下快...
Microsoft Publishes Windows Updates to Fix 94 Secu... This month’s Patch Tuesday rollout brought us updates for a total of 94 security vulnerabilities in Microsoft software, including some that are bei...
Building my Home alarm system (Hardware Phase) I have a house. It has prewired windows and doors that I want to use for my own purposes. I DON’T have an alarm company. I refuse to pay s...
6 Free Icon Editors To Create and Edit Icons We use icons for our web designs, favicons and also Windows/Mac application. To create or edit an icon , you can use either powerful image editors l...
Git for Windows 2.13.1(2) 发布,分布式版本控制系统... Git for Windows 2.13.1(2) 已发布,这是一个针对 2.13.1 的补充版本: git commit 和 git status 不再随机抛出分段错误 。 详情和下载地址可查看发行主页 Git for Windows 2.13.1...
Hello, buddy!责编内容来自:Hello, buddy! (源链) | 更多关于

本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » Jenkins does not start as a Windows service

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录