Grails – Installation on windows machine

02 / Jun / 2010 by Vishal Sahu 5 comments

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

FOUND THIS USEFUL? SHARE IT

comments (5)

  1. edgar

    i cant install plugins.i am running grails 2.3.5 on a windows machine.how can i fix this problem?i have tried on cmd but an error is generated each time i do so.please help me on this one.

    Reply
  2. umar

    “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.

    Reply
  3. Amit

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

    fixed after reading ur article..

    thanks a lot bud !!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *