error sudo gradlew command not found

0 votes
I am getting this type of error sudo: ./gradlew: command not found what can I do now??
Sep 28, 2020 in DevOps Tools by anonymous
• 19,610 points
4,684 views

1 answer to this question.

0 votes

Maybe..your Gradle path is not set for globally.

Export Using this command... And source it.

wget https://services.gradle.org/distributions/gradle-5.2.1-bin.zip -P /tmp sudo unzip -d /opt/gradle /tmp/gradle-*.zip sudo vi /etc/profile.d/gradle.sh export GRADLE_HOME=/opt/gradle/gradle-5.2.1 export PATH=${GRADLE_HOME}/bin:${PATH} source /etc/profile.d/gradle.sh gradle -v

answered Sep 28, 2020 by Adil Abdullah Khan

Related Questions In DevOps Tools

+2 votes
3 answers

mvn not recognized as an internal or external command error

Setting the environment variables JAVA_HOME, MAVEN_HOME and  ...READ MORE

answered Jun 3, 2019 in DevOps Tools by Sirajul
• 59,230 points
94,990 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

ERROR: Could not find a valid gem 'logstash-core-plugin-api' (>= 0) in any repository

Hi@akhtar, I think you don't have JRuby installed ...READ MORE

answered Jun 18, 2020 in DevOps Tools by MD
• 95,460 points
2,282 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,987 views
+2 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP