The way to set up Java JDK on Mac OS X ( with JAVA_HOME ) - https://youtu.be/y6szNJ4rMZ0 On this video…