インストールすると /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java が Java7 に置き換わる
[~]$ uname -a
Darwin **********-no-MacBook.local 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012;
root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
[~]$ which java
/usr/bin/java
[~]$ ls -la /usr/bin/java
lrwxr-xr-x 1 root wheel 74 4 13 22:55 /usr/bin/java ->
/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
[~]$ ls -la /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
-rwxr-xr-x 1 root wheel 54272 4 13 22:55 /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
[~]$ java -version
Picked up _JAVA_OPTIONS: -Dfile.encoding=UTF-8
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)