Mike Caspar commented on Bug JENKINS-17343

OK.. I made some progress and wanted to help others who are having trouble. It appears that by upgrading to Java 1.7 (jre7) instead of 1.6 does the trick. I found out that just changing JAVA_HOME is not enough to be able to do the switch.

If you go to Manage Jenkins, then system info (sysinfo).. check the java.runtime.version. You will see that it seems to ignores whatever is in JAVA_HOME.

I discovered that the reason for this is that a Copy of the JRE at the time of initial installation was copied to JENKINS_HOME/jre.

To fix this, I did the following...

  • net stop jenkins
  • rename JENKINS_HOME\jre to JENKINS_HOME\jre-backup (in my case, I actually copied the entire folder elsewhere to be sure I had a copy (just in case).
  • Copy the folder c:\Program Files\Java\jre7 to JENKINS_HOME/jre7.
  • After copying JRE7 to JENKINS_HOME, rename it to jre (of course, you might be able to do without the rename step).
  • Start up Jenkins with net start Jenkins
  • Login and go to sysinfo.. you should see the newer java.runtime.version.

I put this together from a few of the notes above and wanted to share it with other WinXP users that might not easily find this resolution.

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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to