因为在10.6中,1.5(在JavaVM框架中)是符号链接到1.6的。OSX10.6仅支持1.3和1.6版本;1.4和1.5是1.6的符号链接:
$ ll /System/Library/Frameworks/JavaVM.framework/Versions/
total 64
lrwxr-xr-x 1 root wheel 5B May 19 12:17 1.3@ -> 1.3.1
drwxr-xr-x 3 root wheel 102B Dec 2 20:55 1.3.1/
lrwxr-xr-x 1 root wheel 10B May 19 12:17 1.4@ -> CurrentJDK
lrwxr-xr-x 1 root wheel 10B May 19 12:17 1.4.2@ -> CurrentJDK
lrwxr-xr-x 1 root wheel 10B May 19 12:17 1.5@ -> CurrentJDK
lrwxr-xr-x 1 root wheel 10B May 19 12:17 1.5.0@ -> CurrentJDK
lrwxr-xr-x 1 root wheel 5B May 19 12:17 1.6@ -> 1.6.0
drwxr-xr-x 8 root wheel 272B May 19 17:56 1.6.0/
drwxr-xr-x 9 root wheel 306B May 19 17:56 A/
lrwxr-xr-x 1 root wheel 1B May 19 12:17 Current@ -> A
lrwxr-xr-x 1 root wheel 3B May 19 12:17 CurrentJDK@ -> 1.6