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 27 in DevOps Tools by anonymous
• 18,400 points
79 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 27 by Adil Abdullah Khan

Related Questions In DevOps Tools

0 votes
2 answers
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 in DevOps Tools by MD
• 65,200 points
154 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
720 views
+2 votes
1 answer