It is because you need to install JDK & JRE 8 in your MAC system. Kindly read all the pre-requisites and specifications for the tool.