Groovy Installation In Windows

  • Download Groovy Binary From http://groovy.codehaus.org/Download

  • Download zip: Binary Release

  • Extract Local Disk say D;\GROOVY\ groovy-2.3.9

  • It contains the Folder Structure 

D:. ├───bin 

     ├───conf 

     ├───embeddable 

      ───indy 

      ├───lib 

      └───META-INF

  • Go to Control Panel\User Accounts\User Accounts  Change My Environment Variables

  • Set/new GROOVY_HOME = D:\GROOVY\groovy-2.3.9 (don’t put : semicolon)

  • Set PATH = C:\Program Files\Java\jdk1.8.0_25\bin;%GROOVY_HOME%\bin;

  • Add groovy-all.jar to CLASSPATH

  • D:\ GROOVY\ \groovy-2.3.9\embeddable\groovy-all-2.3.9.jar;.

  • Close and Open Command and Say –groovy

  • For console -groovyConsole

     


    For this error please make sure that above procedure done perfectly