1. 下载groovy安装包 groovy-src-2.0.1.zip

 http://groovy.codehaus.org/Download

2. 在任意路径下unzip

     unzip groovy-src-2.0.1.zip

3. cd groovy-2.0.1

4.  查看自述文件 cat README.md

This will generate a distribution similar to the zip you can download on the Groovy download page.

To build everything and launch unit tests, use

    ./gradlew test

 5.  chmod a+x * 给所有程序加上执行权限

6. 执行./gradflew test 用时较久。执行后groovy安装成功

a@a-laptop:~/groovy/groovy-2.0.1$ groovy -v
Groovy Version: 1.6.4 JVM: 1.6.0_20

 

 

 

相关文章:

  • 2021-06-27
  • 2021-12-05
  • 2021-11-07
  • 2021-06-23
  • 2021-07-22
  • 2021-08-20
  • 2021-10-27
猜你喜欢
  • 2021-07-13
  • 2022-01-16
  • 2022-12-23
  • 2021-03-27
  • 2021-11-21
  • 2021-11-20
相关资源
相似解决方案