I have been trying to get into modding and I was hoping to start with MC since it seemed easy enough. But at the time I can't even get the thing to open. I have been following a guide (https://www.oreilly.com/library/view/minecraft-modding-with/9781491918883/ch01.html) to be exact and I got up until I needed to type gradlew setupDecompWorkspace eclipse into CMD and I keep getting this error. I have no idea how to fix it or even really what the issue at hand is. I have tried googling the error about unable to configure the daemon but every answer was in response to another program with a similar error.
Any help would be VERY appreciated.