kaun jovi
kaun jovi

Reputation: 615

Where is gradle installed on my windows?

I am doing this at the moment

C:\Users\kaunjovi                              
λ for %i in (gradle.bat) do @echo.   %~$PATH:i
C:\myInstalls\gradle-4.6\bin\gradle.bat    

Is there a better way?

Upvotes: 12

Views: 34640

Answers (2)

ucMax
ucMax

Reputation: 5496

May 2024
The easiest and most accurate way is to search gradle.bat itself :

dir /b /s gradle.bat
  • Run above command in the root folder, In my case ( C:\ ) :

enter image description here

Upvotes: 0

SkyWalker
SkyWalker

Reputation: 29168

Gradle installation directory:

/home/<username>/.gradle/ (Linux)
/Users/<username>/.gradle/ (Mac)
C:\Users\<username>\.gradle (Windows)

If you use SDKMAN, then it will be the following

$HOME/.sdkman/candidates/

UPDATE:

Then go to your command prompt. Run the following command to get the .gradle directory

dir /S /P .gradle

Upvotes: 19

Related Questions