微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Groovy入门笔记

mac如何安装groovy

  • 命令安装

sdkman! (The Software Development Kit Manager)

This tool makes installing Groovy on any Bash platform (Mac OSX,Linux,Cygwin,Solaris or FreeBSD) very easy.
Simply open a new terminal and enter:

$ curl -s get.sdkman.io | bash

Follow the instructions on-screen to complete installation.
Open a new terminal or type the command:

$ source "$HOME/.sdkman/bin/sdkman-init.sh"

Then install the latest stable Groovy:

$ sdk install groovy

After installation is complete and you've made it your default version,test it with:

$ groovy -version

That's all there is to it!


  • 下载安装包安装
http://groovy-lang.org/download.html








intellij idea中创建groovy项目是选择groovy jar包资源报错: Looks like Groovy distribution in specified path is broken. Cannot determine version.
解决方案:https://stackoverflow.com/questions/43031763/intellij-idea-wont-load-groovy-found-on-my-disk
changed groovy-x.x.x.jar to groovy.jar and it works in IntelliJ 2016.1.2

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐