Gradle and setup fail

Started by Diamond Human on

Topic category: Troubleshooting, bugs, and solutions

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle and setup fail

Gradle and setup failed:

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Sva prava pridr§ana.
C:\Pylo\MCreator175>cd forge
C:\Pylo\MCreator175\forge>SET "JAVA_HOME=C:\Pylo\MCreator175\jdk32\"
C:\Pylo\MCreator175\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator175\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator175\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-d13a6c8        
  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
:extractDependencyATs SKIPPED
:extractMcpData
:extractMcpMappings
:genSrgs
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
: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'.
BUILD FAILED
> Process 'command 'C:\Pylo\MCreator175\jdk32\bin\java.exe'' finished with non-zero exit value 1
* Try:
Total time: 3 mins 42.585 secs
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator175\forge>
Task completed with return code 0 in 224359 milliseconds

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Go into preferences and drag
Thu, 09/07/2017 - 17:19

Go into preferences and drag the RAM bar to the top.

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Go into preferences and drag
Thu, 09/07/2017 - 17:24

@#1 ​wheres preferences because im new

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Doesn't work i cant click
Sat, 09/09/2017 - 12:58

Doesn't work i cant click preferences because MCreator is loading!

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Doesn't work i cant click
Sat, 09/09/2017 - 17:31

@#4 Then you will have to go into the mcreator files and modify the settings like that.

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:Doesn't work i cant click
Sat, 09/09/2017 - 17:37

@#4.1

  1. Rightclick mcreator and press 'Open file destination', or something like that.
  2. Go into the folder called 'user'.
  3. Go into the file called 'preferences.conf' with notepad++. If you don't have notepad++ (you should get it), use notepad instead.
  4. It should look like this:

xms=416
xmx=2862
ui=normal
gradleOffline=false

      5. Save it and it should work.

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The funny part is that
Sat, 09/09/2017 - 19:34

The funny part is that preferences.conf doesn't have anything so i added this:

xms=416
xmx=2862
ui=normal
gradleOffline=false

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Now its stuck to deobfMcSRG
Sat, 09/09/2017 - 19:47

Now its stuck to deobfMcSRG

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Worked! Now im making a mod
Sat, 09/09/2017 - 20:42

Worked! Now im making a mod called BLUES!

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Worked! Now im making a mod
Sun, 09/10/2017 - 10:04

@#8 Happy to hear!

Blues mod?

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well that mod sucks well i am
Mon, 09/11/2017 - 10:56

Well that mod sucks well i am making another mod which isn't some random stuff