Grails – Installation on windows machine « Intelligrape Groovy & Grails Blogs

Grails – Installation on windows machine

Posted by Vishal Sahu

Hi,

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.


Regards
Vishal
vishal@intelligrape.com

  • Share/Bookmark
This entry was posted on June 2nd, 2010 at 6:21 pm and is filed under Grails, System . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

4 Responses to “Grails – Installation on windows machine”

  1. Amit says:

    i was having some problem with the installation…… because of the system path settings…

    fixed after reading ur article..

    thanks a lot bud !!

  2. Umar says:

    Thanks for sharing… It worked like a charm……

  3. Prasana says:

    If it is a windows machine, make sure to reboot after making the changes!

  4. umar says:

    “If it is a windows machine, make sure to reboot after making the changes!”
    You just need to restart your command prompt not to Windows machine.

Leave a Reply