I am using a windows box to run the agent for my husdon. But I haven’t found any effect way to configure JAVA_HOME and PATH for java on the box.
Does anyone know how I am able to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can configure where Jenkins/Hudson should search for the JDK on the agent on the Manage Nodes configuration page (
${JENKINS_URL}/computer).Check "Tool Locations", Click "Add", select the JDK from the List and type the path to the JDK in the "Home" text field below.
If JDK isn’t showing up in the Tool Locations list, it may be because you need to configure a JDK globally first. To do this, check the "JDK" section in your global configuration page.