Posted March 15, 20205 yr I'm just starting to mod. I don't know if i'm missing something, but I just started up a copy of the MDK, and it's unable to start the Gradle Daemon process. I ran gradlew.bat genEclipseRuns --info And it didn't work, I also tried the eclipse command, didn't work. The output is Initialized native services in: user\.gradle\native To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.9/userguide/gradle_daemon.html. Starting process 'Gradle build daemon'. Working directory: user\.gradle\daemon\4.9 Command: C:\Program Files (x86)\Java\jre1.8.0_231\bin\java.exe -Xmx3G -Dfile.encoding=windows-1252 -Duser.country=US -Duser.language=en -Duser.variant -cp user\.gradle\wrapper\dists\gradle-4.9-bin\e9cinqnqvph59rr7g70qubb4t\gradle-4.9\lib\gradle-launcher-4.9.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 4.9 Successfully started process 'Gradle build daemon' An attempt to start the daemon took 0.331 secs. 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/4.9/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 * Try: Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org Can anybody help me or tell me what i'm doing wrong?
March 15, 20205 yr Author Quote Have you downloaded JDK? Yes, I have JDK 13, but for general uses I have JRE 8 Edited March 15, 20205 yr by Kylogias Quote
March 15, 20205 yr I use JDK 8 but have you showed windows where the JDK is located using the system variables? Edited March 15, 20205 yr by mc_jojo3
March 15, 20205 yr Author 1 minute ago, mc_jojo3 said: I use JDK 8 but have you showed windows where the JDK is located using the system variables? What system variable should I edit/add?
March 15, 20205 yr You need to locate the directory for the jdk on your drive and if you do not have a variable named JAVA_HOME under system variables create one with the adress of your jdk here an example from mine:
March 15, 20205 yr Author 2 minutes ago, mc_jojo3 said: You need to locate the directory for the jdk on your drive and if you do not have a variable named JAVA_HOME under system variables create one with the adress of your jdk here an example from mine: I added a JAVA_HOME variable with the location to my JDK, but it's going for the JRE.
March 15, 20205 yr Hmm thats veird maybe this can help you: https://mcforge.readthedocs.io/en/latest/gettingstarted/
March 15, 20205 yr Author 2 minutes ago, mc_jojo3 said: Hmm thats veird maybe this can help you: https://mcforge.readthedocs.io/en/latest/gettingstarted/ That's where I started. I just reread it to see if there's something I missed, but nothing.
March 15, 20205 yr Have you read thru the link gradle gave you? https://docs.gradle.org/4.9/userguide/gradle_daemon.html
March 15, 20205 yr Author 12 minutes ago, mc_jojo3 said: Have you read thru the link gradle gave you? https://docs.gradle.org/4.9/userguide/gradle_daemon.html I just read through it, and nothing helped me.
March 15, 20205 yr Author 31 minutes ago, diesieben07 said: The error seems to suggest you are using 32-Bit Java. Should I be using 64-Bit?
March 15, 20205 yr Author 17 minutes ago, diesieben07 said: Yes. you are presumably using a 64 bit OS, you should be using 64 Bit software. Does that look like the ONLY problem, or is this going to help get more information
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.