Topic category: Help with Minecraft modding (Java Edition)
Please help :(
Executing Gradle task: runClient
Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 8094 MB, Windows 8.1, JVM 1.8.0_232, JAVA_HOME: C:/Program Files/Java/jre1.8.0_251
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type TaskOutputFilesRepository using TaskExecutionServices.createTaskOutputFilesRepository().
> java.io.FileNotFoundException: C:\Users\Kewin2103\MCreatorWorkspaces\mapkaa\.gradle\buildOutputCleanup\cache.properties (Nie mo�na odnale�� okre�lonego pliku)
* 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 0s
BUILD FAILED
Task completed in 796 milliseconds
How can I fix it?
Try deleting folder C:\Users\Kewin2103\MCreatorWorkspaces\mapkaa\.gradle\
Executing Gradle task: runClient
Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 8094 MB, Windows 8.1, JVM 1.8.0_232, JAVA_HOME: C:/Program Files/Java/jre1.8.0_251
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type TaskOutputFilesRepository using TaskExecutionServices.createTaskOutputFilesRepository().
> Cannot list files in C:\Users\Kewin2103\MCreatorWorkspaces\mapkaa\.gradle\buildOutputCleanup
* 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 2s
BUILD FAILED
Task completed in 2874 milliseconds
:/
Try running as admin or disabling antivirus, something is preventing MCreator from properly accessing files it seems.
As Admin I have something like that:
Executing Gradle task: runClient
Build info: MCreator 2020.2.14217, 1.14.4, 64-bit, 8094 MB, Windows 8.1, JVM 1.8.0_232, JAVA_HOME: C:/Program Files/Java/jre1.8.0_251
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_251 contains a valid JDK installation.
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:c…
BUILD FAILED in 49s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 54514 milliseconds
JAVA_HOME: C:/Program Files/Java/jre1.8.0_251
You have set your custom Java home. Use default java home
In MCreator's preferences in Gradle section
I only can set java.exe but I have that all the time. :/
There should be nothing in this box, you have overridden default value there.
Ok I get it!. Thank you so much! :D
Ugh. I have another problem ;(. When I want to start new world for test my mods I have all the time an error
"A crash in JVM native code was detected." Can you help me again? ;)
Full log on pastebin and open a ticket on the tracker.
It works! Thank you Klemen! :D