Trying to get gradle to run from command line in Windows 7. Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

(Kristy Welsh) #1

Window 7 environment, verified that path set to GRADLE_HOME\bin, getting “Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain” when trying to run ‘gradle -v’ at c:\ command line.

What am I doing wrong?

(Peter Niederwieser) #2

How exactly did you install Gradle?

(Kristy Welsh) #3

I downloaded the zip files, put them in a directory, set the path to $GRADLE_HOME\bin. Had created a gradle.bat file, that was the issue. Now all runs correctly.