groovy/groovy-core — pull request #66 by timyates (2012-09-26 08:28:44+00:00)
Title: Added check for /usr/libexec/java_home to startGroovy darwin section

This is the preferred way of choosing a JVM on OS X

http://developer.apple.com/library/mac/#qa/qa1170/_index.html