Read JAVA_HOME for grails