Use JDK, set JAVA_HOME

Fixes this problem: http://stackoverflow.com/questions/11081874/grails-native2ascii-error-when-i-add-a-new-property-to-message-properties