

The Gradle has been configured successfully on your system. source /etc/profile.d/gradle.shĪnd you have done the Grandle installation on Ubuntu system. Now source the script to apply environment for current shell. Create a file like below: vim /etc/profile.d/gradle.shĪnd add the below line to file export PATH=/usr/local/gradle/bin:$PATH Place a shell script under profile.d directory to set PATH variable on reboot. Next, you need to setup Gradle with PATH environment variable, Also make sure the variable is set after system reboot. Gradle has been configured on your system. You can use alternative directory like /opt. Generally, I used /usr/local directory for storing applications. Then extract the downloaded archive and place it to the proper location. sudo apt install default-jdkĪfter installation of Java, download the latest Gradle distribution release binary file from its official download page. If you don’t have Java Development Kit installed on your system. OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode, sharing) OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1) also make sure you have installed JDK and JRE both. So first of all, Make sure you have Java installed on your system. Gradle required Java language for running on any operating system.

You must have root or sudo privilege account access on Ubuntu 20.04 system. How to Install Apache Maven on Ubuntu 20.04 LTS.This tutorial will help you to install Gradle on Ubuntu 20.04 LTS system. It can build applications written in Java, C++, Python or your language of choice. The Gradle helps developers team to build, automate and deliver software easier and faster, which increased their productivity. Gradle is an open-source build tool for the automation of applications.
