Where is Java Installed on Mac OS X?

Use /usr/libexec/java_home -v 1.7 command on a terminal shell to figure out where is your java 1.7 home directory