RunClient build failed
Opened this issue · 3 comments
I follow the tutorial in ep. 1 exactly as in the video, just with a different modID and mod name, but when I try to launch RunClient, I get this error:
Execution failed for task ':runClient'.
Process 'command 'C:\Program Files\Eclipse Adoptium\jdk-17.0.7.7-hotspot\bin\java.exe'' finished with non-zero exit value 1
I have gone into my files and tried to manually launch java.exe, but it doesn't launch. Is jdk-17.0.7+1 by any chance the wrong version? If so, please tell me the right version and how to proceed.
Thank you!
@KreepyKreeper5000 Could you give either the source code or a zip including the following folders and files:
- src/main/java
- src/resources
- gradle.properties
- build.gradle
- settings.gradle
This would help give a better understanding of the issue
@Unknown303YT
I seem to have troubles launching the runClient task at all too, only following the first tutorial ep.
Maybe you can help me to diagnose why am I failing at this?
MC mod 1.20.X Forge.zip
Hi @TabbyCatface,
Sorry it took so long for me to get back to you, but since you sent the source code, I have hopefully found what the error was.
All you should need to do is delete Config.java, and then change your example.java file so it looks something kind of like this (I took it straight from the tutorial class):
https://drive.google.com/file/d/1iJZrn7QO8zXZkNgXRnpjgAWBh4ePF-8c/view?usp=sharing