Groovy - Environment Setup in Windows to run "Hello World" program

Groovy development requires Groovy Compiler which requires JVM to be installed already because the Groovy code is running in top of JVM. In other words JRE to be installed first and then Kolin Compiler to be installed. JDK contains the Java Runtime Environment (JRE) and JRE contains the Java Virtual Machine (JVM). Groovy Compiler is the only tool which will be responsible for compiling the Groovy source code and it will generate a self executable JAR file with the same name with .jar extension (for example HelloWorld.jar) and rest of the executions will be handled by JRE with the help of Java Virtual Machine (JVM).