This blog is about installing Grails on windows machine.
Before installing grails, make sure that Java SDK 1.4 or higher is installed on your machine.
Set JAVA_HOME environmental variable to point to the path where you have installed Java
1. Download the grails latest version from http://www.grails.org/Download
2. Extract it on the appropriate location…say C:\grails
3. Create an environmental variable GRAILS_HOME which points to the path of installation of grails…i.e C:\grails
4. In the PATH environment variable.. point it to the /bin directory of grails i.e %GRAILS_HOME%\bin
In a nutshell, the environmental variables should be like..
JAVA_HOME = C:\Program Files\Java\jdk-1.5 GRAILS_HOME = C:\grails PATH = %GRAILS_HOME%\bin;%JAVA_HOME%\bin;
This works fine for me.