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

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?

How exactly did you install Gradle?

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.