Eclipse Installation
First install eclipse because eclipse currently has only 3.7 versions to support Grails Plug-ins
So choose to download the 3.7-4.2 version
Eclipse Download Address: http://www.eclipse.org/downloads/
We choose the latest version of the download
Install Java, Groovy, and grails support after the download is complete after extracting it locally
JDK Installation
Download and install JDK6 from http://www.oracle.com/technetwork/java/index.html
Then set your own java_home variable and point him to the JDK6 installation path
Right-"My Computer"-> "Properties"-> "Advanced"-> "Environment variables"
If the JDK can skip directly after the local installation
In the System Variables section click the "new" variable name "java_home" variable value for the JDK installation path
New "Classpath" environment variable
Finally, configure in ' Path '
grails Installation
The installation process is simple. The following is a grails download page: Http://grails.org/Download. Please note that grails source code and documentation are provided as separate downloads. After downloading the zip file, simply unzip its contents to a directory, which is c:grails in my case.
Create a new environment variable named Grails_home and set its value to c:grails-0.2.1. Next, add%grails_home%\bin to the PATH environment variable. This completes the installation. You can check the success of the installation by running the grails command in the command prompt interface. You should get the use information for this command.
Now that you have a running grails installation, you are ready to create a grails Web application.
plug-in installation in Eclipse
in Eclipse, do a grails plug-in search by clicking "Help"-> "Eclipse marketplace" to install according to the prompts