Home » How to Install Groovy on Windows | Groovy Installation on Windows

How to Install Groovy on Windows | Groovy Installation on Windows

by Online Tutorials Library

How to Install Groovy on Windows Operating System

Following are some steps to install Groovy on Windows:

Step1: To Install Groovy, Java should be installed in our operating system. If Java is already installed on your system then check the version using cmd (java -version) because we need version 8.1 or above to install Groovy latest version. If java is not installed on your system then follow the steps given below for installation.

How to Install Java

Step2: Now, go to the official site of Groovy. Below is the link:

https://groovy.apache.org/

Step3: The Groovy page will be open. Now click on the Download link.

How to Install Groovy on Windows

Step4: Now, click on the Groovy 3.0 Windows Installer to download the Groovy.

How to Install Groovy on Windows

Step5: After Downloading, double click on the installer and it will start installing

How to Install Groovy on Windows

Step 6: Now, select the language and then click on ok.

How to Install Groovy on Windows

Step 7: Installation Wizard will appear. Click on next.

How to Install Groovy on Windows

Step 8: License Agreement window will appear, click on I Agree button.

How to Install Groovy on Windows

Step 9: Now, choose Components window, we have to select the type of install, or let the default selection and then click on Next button.

How to Install Groovy on Windows

Step 10: Now, select the destination folder where groovy will be installed.

How to Install Groovy on Windows

Step 11: Now, choose the start menu folder and then click on the install button and the installation will be started.

How to Install Groovy on Windows
How to Install Groovy on Windows

Step 12: When the installation is completed, a message will be displayed “set up was completed successfully” then click on the next button.

How to Install Groovy on Windows

Step 13: Now, check the create GROOVY_HOME, Add to Path and Add to System Environment by this setting it will automatically set the path in an environment variable.

How to Install Groovy on Windows

Step 14: Click on next button.

How to Install Groovy on Windows

Step 15: Click on Finish button and Groovy is installed in your system’s window.

How to Install Groovy on Windows

Step16: To check whether Groovy is installed correctly or not, click on Command prompt and type groovy ?v and press enter. It will display the installer version of groovy of your system.

How to Install Groovy on Windows

If your Command prompt is not recognizing this command then follow the following steps:

1. Go to C drive and then in program files. Select Groovy and then go to Groovy-3.0.0 and copy the path

C:Program Files (x86)GroovyGroovy-3.0.0

How to Install Groovy on Windows

2. Now go to This PC, Right click on it and then click on properties.

How to Install Groovy on Windows

3. Click on Advanced system setting.

How to Install Groovy on Windows

4. Click on Environment variable.

How to Install Groovy on Windows

5. Select GROOVY_HOME and click on the edit button.

How to Install Groovy on Windows

6. Now delete the variable value and paste the path of groovy.

How to Install Groovy on Windows
How to Install Groovy on Windows

Click on ok button and close the window. Now, again check the groovy version on command prompt and it will show definitely.


You may also like