Tuesday, December 23, 2014

Location of JDK 17 on mac

If you are looking for the location of JDK 1.7 after installing run this command in terminal
/usr/libexec/java_home -v 1.7
This will give you the location of JDK.
If you are looking for another version just change the version code at the end.

This is how it worked for me