Groovy Environment Compounding

Source: Internet
Author: User

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

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.