You should be able to use Gradle on Ubuntu. When you’re done, run the commands below to make the file executable. They copy and paste the lines below into the file and save. You can do that by running the commands below to create a new file called gradle.sh in the /etc/profile.d directory. Now that you’ve extracted Gradle content, go and configure Ubuntu environment variables to use Gradle. In the future, all you need to do is create a symbolic link to the version folder to use that version. You will want to keep the version separate so you can upgrade easily. Gradle should be extracted to the /opt/gradle/gradle-4.10.2 directory. At the time of this writing, the version is 4.10.2Īfter that, extract the content into the /opt directory. Now that OpenJDK 8 is installed, run the commands below to download Gradle version 4.10.2 in the /tmp. You should see similar content as shown below: Install Gradle # To install OpenJDK 8, run the commands belowĪfter that, run the commands below to print out the version of Java installed. For this tutorial, we’re going to be installing OpenJDK 8 on Ubuntu. however, Java JDK 8 is much more stable and supported across many platforms. Gradle needs Java JDK installed on Ubuntu. To get started installing Gradle on Ubuntu systems, follow the steps below: Install Java JDK # This brief tutorial is going to show students and new users how to install Gradle Build Tool on Ubuntu 16.04 | 18.04 and 18.10 systems. Gradle also works with many of the popular IDE platforms available today, including, Android Studio, Eclipse, IDEA, and NetBeans.įor more about Gradle, please visit its homepage.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |