What goes under jenkins configuration of JDK JDK 11 or the latest version I m using for selenium

0 votes

Hi,

Under my environment variables I've the following variables for java:
JAVA_HOME = C:\Program Files\Java\jdk-14
path  = C:\Program Files\Java\jdk-14\bin


I had to install java 11 to install Jenkins on my windows 10 machine at home.  However, I'm using jdk_14 to create my selenium scripts.  How do I configure Jenkins? 

My question is under Manage Genkins->Global Tool Configuration->Under JDK Installation section, what do I enter under Name and JAVA_HOME?

Thanks in advance

Nov 10, 2020 in Jenkins by zaraaq
• 270 points

recategorized Nov 10, 2020 by MD 3,649 views

1 answer to this question.

+1 vote

Hi@zaraaq,

It just a name. You can give any name. The main thing is the Java Home. So write down your path properly. For example, if you have Java 11, then you can write Java 11 in the name section.

answered Nov 10, 2020 by MD
• 95,460 points
But I've Java 11 and Java 14, so which one should I use under Jenkins?

Thanks

Hi@zaraaq,

Go to your system and run the java -version command. It will show the version. Accordingly set the Java Home in Jenkins.

Related Questions In Jenkins

0 votes
3 answers

How to get the Maven Version of a project in Jenkins?

Here is a snippet from our Jenkins ...READ MORE

answered Oct 4, 2019 in Jenkins by Petr Doležal
23,187 views
0 votes
1 answer

how to create a job using jenkins for Sign the puppet certificate on master ?

Take a look at this  https://fullstack-puppet-docs.readthedoc ...READ MORE

answered May 29, 2020 in Jenkins by Sirajul
• 59,230 points
1,136 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,034 views
+2 votes
1 answer
0 votes
1 answer

What is the use of using declarative pipeline (i.e jenkins file) over scripted pipeline in real time

Hi@Shashi, The declarative pipeline is a relatively new ...READ MORE

answered Oct 28, 2020 in Jenkins by MD
• 95,460 points
1,547 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP