Wednesday, April 9, 2014

using Grails in Intellij

First you need to have JDK installed in your machine. Lets start from there.

Download JDK here  be careful to choose the system you are running is it 32 or 64 bit?

install it and then you need to give the enviromental varables.
-> go to my computer and in properties go to advanced setting and in advance tab you will find 'environmental variables'.

then a tab will open up and you need to set home for jdk and path there

FOR USER VARIABLES:
click on new option and  variable name: JAVA_HOME
variable value : the path that you have placed the jdk bin for me ::: C:\Program Files (x86)\Java\jdk1.7.0

now you have to set
FOR SYSTEM VARIABLES:
click on " path " and edit it place the path to the bin of jdk for me :::: C:\Program Files (x86)\Java\jdk1.7.0\bin

OKAY NOW YOUR java is installed.

now we have to install intellij and use grails library in it to develop grails application.
download grails from here and the put it somewhere.i put it at C:\grails\ then you have to set environmental variable similary as we did for java.

user variable : VARIABLE:==GRAILS_HOME
                      VALUE== C:\grails\bin (if you have put grails in C:\grails\ )
system variable: you have to set path similarly :C:\grails\bin(two paths should be seperated by a ';')

okay now you can use grails library in intellij.

thank you 

0 comments:

Post a Comment