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
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
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.
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”
Then modify the settings according to the below screen shots
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
After that move to the “D:\Groovy-2.4.5\Supplementary\JavaArch” folder using windows command prompt
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
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 🙂 !