1. Install Eclipse Plugin
Launch Eclipse, click Help, Install New software ...
In the pop-up window, click: Add ...
Groovy Plugin's address: http://dist.springsource.org/release/GRECLIPSE/e4.4/
Other versions of Eclipse can be reached: Https://github.com/groovy/groovy-eclipse/wiki
Download the corresponding version
In the pop-up Install window, fill in the following:
Name: You can fill in the names, such as: Groovy plugin
Location: Copy the above address here, such as: http://dist.springsource.org/release/GRECLIPSE/e4.4/点击OK
Click on select All, click Next and then click Finish. Eclipse will download automatically (since my eclipse has already installed groovy, not next and Finish, I would like to understand that the normal situation here will not be wrong, if eclipse failed to download, you can start redo again)
Second, create the first groovy project
Right---New and other ...
Enter Groovy in the Search box, select Groovy Project click Next to finish building the first groovy project in eclipse
Running the Groovy class
Reference link:Eclipse integrated Groovy Plugin (take eclipse-4.3.0 as an example)
Eclipse's Groovy Plugin source address: https://github.com/groovy/groovy-eclipse
Groovy language Source Address: Https://github.com/apache/groovy
Groovy Language Reference Project: Https://github.com/grails
Groovy Simple example: https://github.com/langtianya/groovy_test
Introduction to Groovy (2-2) Groovy's Eclipse plug-in installation