title: Jenkins Slave Environment Variable Refresh
body: <p>I have a Jenkins Slave (A Windows PC) which has the <code>JAVA_HOME</code> environment variable. I updated the Java version on the Slave so I also updated the Environment Variable. </p>
  
  <p>When I look at the system properties of this Slave via Jenkins web interface the <code>JAVA_HOME</code> property is reported as the old one.</p>
  
  <p>Running <code>echo %PATH%</code> on the Windows PC shows the correct values.
  Running <code>println System.getenv("PATH")</code> on the Jenkins Node script console for the Slave shows the old JAVA_HOME value.</p>
  
  <p>I have tried to delete and add the Slave again and restarted Jenkins server. Still the old value is not updated.</p>
  
  <p>Any thoughts?</p>