Solution for “Not able to find Java executable or version” in Jenkins

Not able to find Java executable or version. Please check your Java installation.
errorlevel=2
  • Some people said we should also add:
  • JAVA_HOME in Manage Jenkins -> Configure System -> Global properties: Add Environment variables.
  • But I don’t do this step, it still works. If after step 2 above your Jenkins hasn’t worked yet, try this step.

--

--

--

QA Engineer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Community engineering report

From ChemE to Consultant to Software Engineer

Introduction to Microservices

Software Runs on Hope

Rails Capstone Project

Ansible Role CI for Ceph using Molecule, OpenStack, Ceph-Ansible and GitHub Actions — Part 1

Cache Stampede problem

What is Application Programming Interface and why are they important? — MyBlockchainExperts

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Linh Do

Linh Do

QA Engineer

More from Medium

Log4Shell in SQL ? JNDI exploit for Java H2 (CVE-2021–42392)

Playing Around With Lambdas

Basic tutorial for Browser Automation using Selenium

HTTP Requests in Java with Proxies