Note: GRAILS requires a Java JDK installed (a runtime environment JRE is not sufficient) on your system, before setting up Grails. Please refer to, how to install JDK. As of this writing, it is recommended to install the latest JDK.
For Mac OSX, Linux, Cygwin, Solaris and FreeBSD:
The simplest w...