Setting Up Groovy
- Download Groovy and unpack it.
- Set GROOVY_HOME to where you unpacked the file.
- Add $GROOVY_HOME/bin to your PATH
- Set your JAVA_HOME to your java environment
- Use Groovy with …
- groovy filename.groovy — Run a script
- groovysh — Interactive shell
- groovyConsole — Interactive Swing Window