I've tried installing Gradle a few times already f...
# community-support
b
I've tried installing Gradle a few times already following different tutorials and I follow every step but then when it gets to the cmd part I type "gradle --version" and it gives me the same error every time "Error: -classpath requires class path specification", I really don't know what to do, I've tried at least 5 different tutorials went so far to even ask AI and I still don't know what to do. Can someone please help me?
Never mind I somehow managed to fix it.
v
Actually, the right solution is to not even try. :-) In 98.7% of the cases you should not use and locally installed version, but use the Gradle Wrapper to run builds. Only if you want to bootstrap a new build without any Gradle supporting IDE at hand and without any other project the wrapper of which you could use, you need it, or to run builds that do not include the 4 wrapper files which imho is a build bug.
1
☝️ 1