Topic category: Troubleshooting, bugs, and solutions
It can't recompile. I don't know, wht to do. MCreator doesn't make anything without it.
[spoiler=Here is what it shows to me in console]Executing gradle command: build Microsoft Windows [Verze 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved
C:\Pylo\MCreator172>cd forge
C:\Pylo\MCreator172\forge>SET "JAVA_HOME=C:\Pylo\MCreator172\jdk64\"
C:\Pylo\MCreator172\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator172\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator172\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" build
o honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.0/userguide/gradle_daemon.html.
FAILURE: Build failed with an exception.
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at http://gradle.org/docs/2.0/userguide/gradle_daemon.html
Please read below process output to find out more:
-----------------------
12:45:27.106 [main] DEBUG o.g.l.daemon.bootstrap.DaemonMain - Assuming the daemon was started with following jvm opts: [-Xms625m, -Xmx2048m, -Dfile.encoding=windows-1250] FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type DefaultClassLoaderRegistry using GlobalScopeServices.createClassLoaderRegistry().
* Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output. Picked up _JAVA_OPTIONS: -Xmx4096M
* Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Picked up _JAVA_OPTIONS: -Xmx4096M
C:\Pylo\MCreator172\forge>
Task completed with return code 0 in 1254 milliseconds
I tried to reinstall Java and Mcreator after so I have latest version and Mcreator 1.7.2.
So... does anybody know solution for it
I have a issue with recompiling too, except it says every single mod element is broken!It Fails at the compilejava part, And It Says The "M" In the mcreator item is invalid or something?
Hmm... how many GB of ram have you got?
@#2 I have 12 GB RAM
@#2.1 Have you allocated more ram?
i've tried but with no succes. Maybe i did it badly. Can you describe how?
I know this is an older topic, but if someone stumbles upon this problem
a possible solution for this problem is described here: https://mcreator.net/wiki/gradle-setup-errors#wiki-index-14