Groovy is a dynamic language for the Java platform. This sets GROOVY_HOME=/usr//groovy and PATH to include /usr//groovy/bin. The installation is like Java Runtime/SDK, in that it places everything by default in /usr//groovy. The lib directory is set dependent upon the package architecture: /usr/lib on x86 and /usr/lib64 on x86_64.