加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Groovy入门笔记

发布时间:2020-12-14 16:40:39 所属栏目:大数据 来源:网络整理
导读: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.sdkma

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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读