Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

This document describes how to install a binary distribution of Groovy.
For those familiar with tools like Ant or Maven these steps will be very familiar.

  • download a binary distribution of Groovy and unpack thedistribution into some file on your local file system.
  • set your _GROOVY_HOME_ environment variable to the directory you unpackedthe distribution
  • add _GROOVY_HOME/bin_ to your _PATH_ environment variable.
  • set your _JAVA_HOME_ environment variable to point to your JDK. On OS X this is /Library/Java/Home, on other unixes its often /usr/java etc.
  • you should now have Groovy installed properly. You can test this by typing the following in a command shell...

Which should create an interactive groovy shell where you can type Groovy statements. Or to run the Swing interactive console type

To run a specific groovy script type

Labels
  • None