Jenkins not finding JAVA_HOME Jenkins not finding JAVA_HOME jenkins jenkins

Jenkins not finding JAVA_HOME


JAVA_HOME should be pointed to parent of bin


It's because the path you mentioned is different from what Jenkins has stored.Go to Manage Jenkins-> System Information->Environment VariablesYou can see JAVA_HOME copy the path and save it.Issue will be resolved


/usr/lib/jvm/java-8-openjdk-amd64/

This is what worked in my case.

enter image description here