Grails installation in Eclipse

Source: Internet
Author: User
Tags grails

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.