4

sudo apt-get install groovy provides me with:

groovy -v
Groovy Version: 1.8.6 JVM: 1.8.0_131 Vendor: Oracle Corporation OS: Linux

However, this version of Groovy is very old. How do I get the newest one installed? - 2.5?

Zanna
  • 72,312
cbll
  • 1,620

2 Answers2

6
$ sudo apt-get install groovy2
$ groovy -v
Groovy Version: 2.4.5 JVM: 1.8.0_144 Vendor: Oracle Corporation OS: Linux

Ubuntu 16.04.3

4

Solved by following the guide here: http://groovy-lang.org/install.html

curl -s get.sdkman.io | bash

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

sdk install groovy
cbll
  • 1,620