Obtenha JRE Path Terminal MacOS

$ /usr/libexec/java_hom
Sudarshaana