First step to groovy on windows

Hi , I’m already refreshing my knowledge about programming languages . I’m also java a lover . So when I searched about something about java and accidentally click on a link about java run-time environment based programming languages . Bingo…! bingo..! , it is a post on groovy . So  then I read that article and got some idea about groovy.

In this post I’will explain how to prepare the basic environment to run/develop groovy on windows 64 bit editions.

First thing is to  point to below url and download the windows setup binary

groovy-lang.org/download.html

pic_01

 

pic_02

Before this step you must have to install proper java SE development kit . I have installed  Java SE Development Kit 8u73 64bit edition ,

Now double click and run  the setup file

pic_04

pic_05

pic_06

pic_07

pic_08

pic_09

pic_10

In below step you will find that sometimes installer says unable to find jvm or JAVA_HOME . but ignore that and proceed to the next step.

pic_11

pic_12

pic_13

After finishing the setup you have to modify some settings as below . Open “Advance system settings” from the windows properties and click on “Environmental Variables”

pic_21

 

Then modify the settings according to the below screen shots

pic_20

pic_16

pic_18

Then you have to copy “groovy.exe” ,”groovyw.exe” from the folder “D:\Groovy2.4.5\Supplementary\native\64bit” to to the “D:\Groovy-2.4.5\bin” because we have to run 64 bit edition of groovy . Then give the permission to overwrite and replace the files

pic_22

After that move to the “D:\Groovy-2.4.5\Supplementary\JavaArch” folder using windows command prompt

pic_23

Then run the command “java  -jar GetArchModel.jar”

If the result is ok you will find the following message

“Found a 64 bit java installation.”

After that close the windows command prompt and then get a new command prompt window

Then type “groovy”

If the all the settings are successful you’ll find the following screen

pic_19

That’s all 🙂 !

Notice that if you are using 32 bit version of jdk and windows os  you don’t have to worry about copying “groovy.exe” ,”groovyw.exe” to the “D:\Groovy-2.4.5\bin” folder

If you have any comments let me know.It is very important!

Have a nice day 🙂 !

 

First step to groovy on windows