How-to Install Latest Groovy 2 on Mac OS X Easy Guide

November 7th, 2014 by Zen BSD

Groovy 2 Quick-Start for Mac OS X



The Linux Tutorial Shows You Step-by-Step How-to Install and Getting-Started with the Latest Groovy 2.x on Mac OS X Unix/BSD Desktop.

Groovy is a Dynamic Language that has Additional power Features inspired by languages like Python, Ruby and Smalltalk like:

  • Function Literals
  • Support for Collections
  • Support for Regular Expressions
  • Support for XML Processing

It is Recommended to dispose of a Java 8 installation because Now Groovy 2 Supports the latest Oracle Java JDK 8 Specifications.

Installing Groovy 2 for Mac OS X 10.9 Mavericks - Featured
  1. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Mac Mavericks Open Terminal
  2. Click Here to Install Groovy with HomeBrew!

  3. Download Latest Groovy 2.x Binary Release

    Groovy 2.x Zip Archive
  4. Double-Click on Archive to Extract

  5. Installing Groovy 2 on Mac OS X

    sudo chown -R root:admin $HOME/Downloads/groovy*
    sudo mv /tmp/groovy* /opt/groovy2
  6. Append Groovy2 to the User Path

    nano $HOME/.profile

    Append:

    export GROOVY_HOME=/opt/groovy2
    export PATH=$GROOVY_HOME/bin:$PATH
    

    Load the New Path:

    source $HOME/.profile
  7. Test Groovy 2 Installation

    groovy -version
  8. How-to Install Recommended Oracle Java JDK8 on Mac OS X:

    Install Oracle JDK 8 for Mac
  9. Getting-Started with Groovy 2 Programming

    Groovy 2 Quick-Start Guide
Share on Tumblr

Tags: , , , , , , , , , , , , , , , , , ,


Comments are disabled