Hi Daniel

Thanks very much for your answer.

> You don't. The version of the Jenkins-provided JDK cannot be changed.

Just out of interest, why doesn't Jenkins 1.612 install Java 7 if it is not 
found?

Best regards

David

> -----Original Message-----
> From: [email protected] [mailto:jenkinsci-
> [email protected]] On Behalf Of Daniel Beck
> Sent: 07 May 2015 18:44
> To: [email protected]
> Subject: Re: Requirement for Java 1.7?
> 
> 
> On 07.05.2015, at 17:31, David Aldrich <[email protected]>
> wrote:
> 
> > Does this mean that Jenkins is installing Java on the slave?
> 
> Yes, if none is found otherwise. Unfortunately an outdated version.
> 
> > If so, how do I update to Java 7 on the slave?
> 
> You don't. The version of the Jenkins-provided JDK cannot be changed.
> 
> Just install Java 7 to one of the standard locations to use that instead:
> 
> https://github.com/jenkinsci/ssh-slaves-
> plugin/blob/master/src/main/java/hudson/plugins/sshslaves/SSHLauncher.ja
> va#L1428
> 
> Use your OS vendor's repos or download from Oracle. Then Jenkins will not
> use the outdated one it installed as fallback.
> 
> Tracked as https://issues.jenkins-ci.org/browse/JENKINS-28231
> 
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/7C52EFE6-2BD8-4BF7-
> A475-D7B8C93D8A95%40beckweb.net.
> For more options, visit https://groups.google.com/d/optout.
> 
> 
>  Click
> https://www.mailcontrol.com/sr/!oWaVkNhSf!GX2PQPOmvUlvAwUAcTfZnp
> YwftJ!kIZdSepJp+OSw08zKj9rvfXIvimfGt1zVPdsoKRuEdgZyEA==  to report
> this email as spam.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/41302A7145AC054FA7A96CFD03835A0A0B96B479%40EX10MBX02.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.

Reply via email to