When I run ./gradlew genSources
for a Minecraft mod I wanna make it pops out this:
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
and this:
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
Could someone tell me and help me as to how to fix it. I am using Visual Studio Code on a Windows 11 PC. Please help me.
I tried to run ./gradlew genSources
and it would just pop out an error.