Can someone tell me which is the default installation directory for Java 7?
I did follow the above answer and the output of /usr/libexec/java_home -v 1.7
was
Unable to find any JVMs matching version "1.7". /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home