Topic category: Troubleshooting, bugs, and solutions
I ported a mod from 1.16.5 to 1.17.1, which included no custom code. Regenerating code works, building workspace works, running client fails.
(Workspace settings > Minecraft version (generator): > Selected generator: Minecraft Forge for 1.16.5 (36.2.20) > 1.17.1 (37.1.1))
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Program Files\Pylo\MCreator\jdk\bin\java.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 17s
10 actionable tasks: 3 executed, 7 up-to-date
BUILD FAILED
Task completed in 17 seconds
If you need me to post the entire log here or do anything else, let me know.
Yes, I am able to change back to 1.16.5 and everything works.
The exact same thing happened to me just now, and I didn't even convert it from 1.16 to 1.17 !!
Full log on paste service please
Here is a pastebin link for when i tried to build and run a mod. https://pastebin.com/HdDMwzFk
Has someone found a solution to this?
You may need to open Windows Explorer, select the .gradle folder in C:\Username Folder\14933, try to delete and re-run the client
i have tried numerous things to attempt to resolve the problem, like deleting the cache folder in the gradle folder, deleting the entire gradle folder, uninstalling and reinstalling mcreator, and installing a slightly older version of 2021.3, and they all did not work.
Did you happen to update your java recently? I updated my java 8 install yesterday and that's when i started dealing with this exact issue.
actually that might be the reason that this is happening
how exactly do i downgrade java 8 ?
For Klemen
https://pastebin.com/bKGCRG3e
Your version can only have numbers in it