1. Download Groovy:http://groovy.codehaus.org/download
2, click the installation can, direct next. Note: You must not have spaces when you add the installation directory.
3, set the "groovy_home" environment variable step under Windows:
Add a new system variable name "Groovy_home" whose value is GROOVY installation path "C:\Groovy\Groovy-1.6.7" Add "%groovy_home%\bin" to your "path" Double-click the "Groovyconsole.bat" in the "Bin" folder under the Groovy installation path, if it is not running, open a command prompt, navigate to "Bin", Run "Groovyconsole.bat", and view the error message from the command prompt. To test whether the installation was successful:
双击打开Groovy安装路径下的"bin"文件夹中的“groovyConsole.bat”
In Groovyconsole.bat Open Editor, enter: XML code
println "Hello, World!"
Press the shortcut key to run, see for yourself what the output is, if the output is "Hello world!", congratulations, you can start our groovy tour.
Groovy Environment Compounding