Need to follow below steps for Grails environment setup
- Install JDK1.5 or higher from oracle
- Point the JAVA_HOME environment variable at your JDK installation.
- Download the latest release of Grails from http://grails.org/Download.
- Unzip Grails
- Create a GRAILS_HOME environment variable
- Add GRAILS_HOME/bin to the PATH