Issue Type: Bug Bug
Affects Versions: current
Assignee: Kohsuke Kawaguchi
Components: slave-setup
Created: 03/Apr/13 3:48 PM
Description:

I was trying to use "Let Jenkins control this Windows slave as a Windows service" and specifying "Path to java executable" in the configuration dialog.

This drove me crazy for good long while. In that "Path to java executable" box, I had put this in:

C:\Program Files\Java\jre7\bin\java.exe

Well, the service would not start. I looked on the slave and noticed this in jenkins-slave.xml.

<executable>C:\Program Files\Java\jre7\bin\java.exew.exe</executable>

Notice the extra =w.exe= on there.

I changed "Path to java executable" box, to this:

C:\Program Files\Java\jre7\bin\java

And it worked fine. One of two things should happen:

  1. If the path to java is specified, use that with out adding anything to it.
  2. Modify the help for that field to document the above scenario
Environment: Centos 6.4 Server Running Jenkins 1.508
Windows Server 2012 Standard
Project: Jenkins
Priority: Minor Minor
Reporter: Jim McCaskey
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to