If you check the connection log for the slave it should show you which Java 
path is being used by Jenkins.

From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: 21 May 2015 13:04
To: [email protected]
Subject: How Do I Tell Jenkins to Use Java 7 (already installed)

When I try to start version 1.612, it says I need Java 7 and I'm running Java 
6, but my system says I have Java 7. How do I point Jenkins to use the Java 7?

uname -a
Linux jenkinstest 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 
x86_64 x86_64 x86_64 GNU/Linux

java -version
java version "1.7.0_65"
OpenJDK Runtime Environment (rhel-2.5.1.2.el6_5-x86_64 u65-b17)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

Jenkins --> Manage Jenkins --> System Information: has many java variables 
pointing to /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.35.x86_64. Where can I tell 
Jenkins to point to my java 7?

I do have /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64 but I'm just unsure 
how to tell Jenkins to use that.
--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/bd4cf3b4-8de9-4988-b569-bf66603a412f%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/bd4cf3b4-8de9-4988-b569-bf66603a412f%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


Click 
here<https://www.mailcontrol.com/sr/2c63NVXBnJ3GX2PQPOmvUv46NwAC7+vkmKXeBiI4AJN0nxq!bcs6!KhBOqZJkqkGM3hgsrCml38JwVIOzJj0SQ==>
 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/41302A7145AC054FA7A96CFD03835A0A0B97779C%40EX10MBX02.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.

Reply via email to