Go to Manage Jenkins – Configure System, to the Global properties section and enable Environment variables. Add an environment variable for JAVA_HOME.
On this page of the site you can watch the video online How to Set Java path in Jenkins and Window | Java Path Configuration | DevOps with a duration of hours minute second in good quality, which was uploaded by the user DevOps&Cloud World 08 October 2021, share the link with friends and acquaintances, this video has already been watched 2,562 times on youtube and it was liked by 17 viewers. Enjoy your viewing!