Howdy, I wanted to begin programming mods for Minecraft v. 1.12.2, so I downloaded the forge MDK and unzipped it in a new directory (of course)
I started following the README file with the instructions. Opened the cmd, pointed to the directory and launched the "gradlew setupDecompWorkspace" command, but I got the following message
:decompileMc
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap
:decompileMc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':decompileMc'.
> Process 'command 'C:\Program Files (x86)\Java\jdk1.8.0_192\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.
BUILD FAILED
Total time: 31.881 secs
while it was trying the :decompileMc command
Then I tried writing on the gradle.properties "org.gradle.jvmargs= -Xmx3G" so it could use more memory to build the task, but then...
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/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 https://docs.gradle.org/2.14/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap
I tried some other properties like "org.gradle.daemon=true" and "org.gradle.daemon.performance.enable-monitoring=false", when I tried to add memory it shows the second message while when I tried to reduce the memory it shows the first one... I don't know if there are some java configurations I have to do or what, so can anyone help me with this?