Started from http://www.groovy-lang.org/learn.html.
Decided to use GVM:
Installation went well; Updated bashrc and zshrc files.
Started new shell window
$ gvm help # Showed help
$ gvm install groovy #installed latest version
$ groovy -version # showed installed version
Create a (text) file hello_groovy
$ vim hello_groovy
Enter: System.out.println("Hello Groovy")
Save file
$ groovy hello_groovy #print "Hello Groovy"
Manual
http://www.vogella.com/tutorials/Groovy/article.html
Decided to use GVM:
$ curl -s get.gvmtool.net | bash
Installation went well; Updated bashrc and zshrc files.
Started new shell window
$ gvm help # Showed help
$ gvm install groovy #installed latest version
$ groovy -version # showed installed version
Create a (text) file hello_groovy
$ vim hello_groovy
Enter: System.out.println("Hello Groovy")
Save file
$ groovy hello_groovy #print "Hello Groovy"
Manual
http://www.vogella.com/tutorials/Groovy/article.html
No comments:
Post a Comment