I just started learning Spring Boot and I noticed that when I need to build Spring Boot project with Gradle in other terminal (I've tried this command in git bash and IntelliJIDEA's terminal) than command prompt, I have to type it like this:
./gradlew bootRun
Instead of this:
gradlew bootRun
Which I type in command prompt.
Is it about path variable? (I do set path to Gradle)
(Spring Boot 3, Gradle 7.6)
I've tried searching for something like "./ in command prompt" and "spring boot gradle command prompt", but I couldn't find anything.
I wanted to understand why I need to use ./ in other terminals and not in command prompt.