RE: How Do I Tell Jenkins to Use Java 7 (already installed)

14 views
Skip to first unread message
Message has been deleted

David Aldrich

unread,
May 21, 2015, 8:07:05 AM5/21/15
to jenkins...@googlegroups.com

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

 

From: jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com] On Behalf Of robert...@onyxpoint.com
Sent: 21 May 2015 13:04
To: jenkins...@googlegroups.com
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bd4cf3b4-8de9-4988-b569-bf66603a412f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Click here to report this email as spam.

Reply all
Reply to author
Forward
Message has been deleted
0 new messages