Master running Java7 slaves running Java8?

19 views
Skip to first unread message

Slide

unread,
Jan 20, 2015, 7:27:29 PM1/20/15
to Jenkins User Mailing List
I've started getting notices on my Windows 7 slave machines that Java7 is "not the latest release." When clicking the icon in the system tray it wants me to upgrade to Java8. I have no problem ignoring these little messages, but was wondering if there would be any issues if the master is running Java7 and the slaves were running Java8. I seem to remember (though I can't find it now) some issues relating to Java8 with Jenkins, so I just wanted to check to see.

Thanks,

slide

Mark Waite

unread,
Jan 20, 2015, 9:01:59 PM1/20/15
to jenkins...@googlegroups.com
I have a master running Java 7 (Ubuntu 14.04) with Windows slaves running Java 8 and have not detected any issues with that configuration.  My Windows machines include a Windows 7 x86, Windows 7 x64, Windows 8 x64, and Windows Home Server 2011.

The Windows machines have both Java 7 and Java 8 installed so that I can specify which JDK should be used for a specific job.  The "System Information" for the machines shows that they are running Java 8 as their java.home.

Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfDZWfd44RcxxhZhs-Pk3FMeS4NOijt%3Ds%3D2xCYo9SuL0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks!
Mark Waite

Slide

unread,
Jan 20, 2015, 9:33:42 PM1/20/15
to jenkins...@googlegroups.com
Mark,

Thanks for the info! Much appreciated!

Slide

felix schwitzer

unread,
Jan 21, 2015, 3:46:50 PM1/21/15
to jenkins...@googlegroups.com
FYI:

Today I tried to connect my Win7-Java8 slave with my master (ubuntu1404 with OpenJDK7) and
I was not able to connect, the slave gave an NPE-exception.
After upgrading my java8 (Oracle), reconnecting worked fine.
So there may be some issues, but it looks to me that there are some Java8-releases not
working correct. If I remember right Java8-36 did not work, but Java8-37 did)

regards
Felix

Slide

unread,
Jan 21, 2015, 4:16:48 PM1/21/15
to jenkins...@googlegroups.com
I tried moving to Java8 on one machine and found I had to update the jenkins-slave.xml file because it had the full path to java.exe. Other than that, it seems to be going smoothly.

Reply all
Reply to author
Forward
0 new messages