Anyone run into this?
I realize that 1.6 is the default on OS X, but I'm trying to compile/run a program on the command-line using 1.5. However, no matter what I try, it reports 1.6.
/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)
rtp-wwilliam-8712:bin wwilliam$
Note the full path to the java binary. No matter what earlier version of Java I try, I always get 1.6 reported as the version.
The java binary does exist at that path. That directory is also the first directory in my path.
Using OS X 10.6.3 with the latest java updates installed.
Thoughts?