Gradle task failed

Started by JulesPersello on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 10:48, 26. Jul 2019
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle task failed

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [version 10.0.14393]
(c) 2016 Microsoft Corporation. Tous droits r‚serv‚s.
C:\Pylo\MCreator171>cd forge
C:\Pylo\MCreator171\forge>SET "JAVA_HOME=C:\Pylo\MCreator171\jdk32\"
C:\Pylo\MCreator171\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator171\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator171\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies
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.
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-f0ba31b        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:cleanCache
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.10.2-1…
Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.10.2-1…
:extractDependencyATs SKIPPED
:extractMcpData
:extractMcpMappings
:genSrgs
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
:decompileMc
Download https://libraries.minecraft.net/com/mojang/realms/1.9.8/realms-1.9.8.pom
Download https://libraries.minecraft.net/com/mojang/realms/1.9.8/realms-1.9.8.jar
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap
:decompileMc FAILED
FAILURE: Build failed with an exception.
BUILD FAILED
* WhatExecution faiTotal time: 3 mins 34.042 secs
led for tas> Process 'command 'C:\Pylo\MCreator171\jdk32\bin\java.exe'' finished with non-zero exit value 1
k ':decompileMc'.
 went wrong:
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator171\forge>
Task completed with return code 0 in 215055 milliseconds

Last seen on 16:26, 27. Nov 2017
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Same problem. In pop up box:
Tue, 07/18/2017 - 23:20

Same problem. In pop up box:

ERROR CODE:GRADLE_BUILD_FAILED [-23]

Specifics:

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'.
led for tas> Process 'command 'C:\Pylo\MCreator175\jdk32\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 2 mins. 18.133 secs.
C:\Pylo\MCreator175\forge>
Task completed with return code 0 in 139348iseconds

Last seen on 16:26, 27. Nov 2017
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just checked the system
Tue, 07/18/2017 - 23:26

Just checked the system requirements, and found out it requires DDR3 graphics.  I only have DDR 2 graphics which run minecraft forge with minimal issues.  The modding program for 32bit systems should support DDR 2 graphics.

Last seen on 16:26, 27. Nov 2017
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I got Mcreator to work on my
Wed, 07/19/2017 - 21:28

I got Mcreator to work on my 64bit laptop.  It also runs Windows 7 as the system from my previous posts.