...
After installing http://www.apple.com/support/downloads/java2se50release1.htmlIt , it is necessary to do the following to get the correct version of
the java compilier.
{{cd /System/Library/Frameworks/JavaVM.framework/Versions/
sudo mv CurrentJDK CurrentJDK14
sudo ln -s 1.5 CurrentJDK
}}
Checking the Installation
...