In this tutorial, we will see how to install Gradle on Windows 10 operating system.
Prerequisites:
- Gradle runs on almost major operating systems.
- Gradle required Java JDK/JRE version 8 or higher.
Versions:
- Windows 10 Pro 64 bit operating system
- Gradle 5.4.1
- Java 1.8
Install Gradle on Windows 10:
Here are the simple steps to download and install the Gradle on windows 10.
1. Get Gradle:
Download the latest Gradle distributions from the official website; for me, it is 5.4.1.
Click on the above complete link to download Gradle; it will be downloaded as a .zip file.
2. Extract the File:
After successfully download, extract the Gradle-5.4.1-all.zip.
If everything went well, you could see the below folders under the Gradle root directory.
3. Set Gradle Path:
Setting the Gradle path under User variables.
Go to Advanced System Settings -> Click on Environment Variables -> then you could see the below window.
Select the Path under the User variables section and click on the Edit button.
Click on the New button.
Fill the Gradle path until /bin and click on Ok and Close.
That’s it; now you have successfully installed and set up the Gradle on your Windows Operating System.
4. Verify:
To verify the setup- Open command prompt and check for the gradle -version like below.
If you see the above output; your installation process is done.
References:
Happy Learning 🙂