You have nothing but an installed Ubuntu Box, a JDK and no other clue ?
- Download the latest stable Groovy release from groovy.codehaus.org
- Unzip the file (maybe to your home folder) and keep the release name, like groovy-1.6.7
- Modify your .bashrc (gedit ~/.bashrc), usually you need to add this:
### GROOVY export GROOVY_HOME=/home/whateveryourusername/groovy-1.6.7 export PATH=$PATH:$GROOVY_HOME/bin
- Open a new shell and type groovy -version and you should get something like this:
Groovy Version: 1.6.7 JVM: 1.6.0_16 - Start the console with groovyConsole
- You are ready, lets get rolling with some snippets.
Advertisement
