Can't setup MCreator

Started by LoganMaker on Mon, 01/01/2018 - 20:26

Topic category: Bugs and solutions

Last seen on 15:16, 11. Feb 2018
Joined Sep 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Can't setup MCreator
Mon, 01/01/2018 - 20:26

     So,  I tried to set up MCreator's most recent version, but the setup fails with this error log:

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Pylo\MCreator176>cd forge
C:\Pylo\MCreator176\forge>SET "JAVA_HOME=C:\Pylo\MCreator176\jdk32\"
C:\Pylo\MCreator176\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator176\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator176\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/6.0_BETA/asm-debu…
Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/6.0_BETA/asm-parent-…
Download http://files.minecraftforge.net/maven/net/minecraftforge/forgeflower/1…
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/6.0_BETA/asm-debu…
Download http://files.minecraftforge.net/maven/net/minecraftforge/forgeflower/1…
This mapping 'snapshot_20170624' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-583d1ba        
  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.12.2-1…
Download http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-1…
:extractDependencyATs SKIPPED
:extractMcpData
Download http://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp/1.12.2/mcp-1…
:extractMcpMappings
Download http://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_snapshot/201…
:genSrgs
:downloadClient
:downloadServer
:splitServerJar
:mergeJars
:deobfMcSRG
Applying SpecialSource...
Applying Exceptor...
:decompileMc
Download https://libraries.minecraft.net/com/mojang/patchy/1.1/patchy-1.1.pom
Download https://repo1.maven.org/maven2/net/java/dev/jna/jna/4.4.0/jna-4.4.0.pom
Download https://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/5.0.3/jop…
Download https://repo1.maven.org/maven2/io/netty/netty-all/4.1.9.Final/netty-all…
Download https://repo1.maven.org/maven2/io/netty/netty-parent/4.1.9.Final/netty-…
Download https://repo1.maven.org/maven2/com/google/guava/guava/21.0/guava-21.0.p…
Download https://repo1.maven.org/maven2/com/google/guava/guava-parent/21.0/guava…
Download https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.5/com…
Download https://repo1.maven.org/maven2/org/apache/commons/commons-parent/41/com…
Download https://repo1.maven.org/maven2/org/apache/apache/18/apache-18.pom
Download https://repo1.maven.org/maven2/commons-io/commons-io/2.5/commons-io-2.5…
Download https://repo1.maven.org/maven2/org/apache/commons/commons-parent/39/com…
Download https://repo1.maven.org/maven2/org/apache/apache/16/apache-16.pom
Download https://repo1.maven.org/maven2/commons-codec/commons-codec/1.10/commons…
Download https://repo1.maven.org/maven2/org/apache/commons/commons-parent/35/com…
Download https://repo1.maven.org/maven2/org/apache/apache/15/apache-15.pom
Download https://repo1.maven.org/maven2/com/google/code/gson/gson/2.8.0/gson-2.8…
Download https://repo1.maven.org/maven2/com/google/code/gson/gson-parent/2.8.0/g…
Download https://libraries.minecraft.net/com/mojang/authlib/1.5.25/authlib-1.5.2…
Download https://libraries.minecraft.net/com/mojang/realms/1.10.17/realms-1.10.1…
Download https://repo1.maven.org/maven2/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1…
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.8.1…
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j/2.8.1/log…
Download https://repo1.maven.org/maven2/org/apache/logging/logging-parent/1/logg…
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.8…
Download https://libraries.minecraft.net/com/mojang/text2speech/1.10.3/text2spee…
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.2/asm-debug-…
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-parent/5.2/asm-parent-5…
Download https://repo1.maven.org/maven2/ca/weblite/java-objc-bridge/1.0.0/java-o…
Download https://libraries.minecraft.net/com/mojang/patchy/1.1/patchy-1.1.jar
Download https://repo1.maven.org/maven2/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar
Download https://repo1.maven.org/maven2/net/sf/jopt-simple/jopt-simple/5.0.3/jop…
Download https://repo1.maven.org/maven2/io/netty/netty-all/4.1.9.Final/netty-all…
Download https://repo1.maven.org/maven2/com/google/guava/guava/21.0/guava-21.0.j…
Download https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.5/com…
Download https://repo1.maven.org/maven2/commons-io/commons-io/2.5/commons-io-2.5…
Download https://repo1.maven.org/maven2/commons-codec/commons-codec/1.10/commons…
Download https://repo1.maven.org/maven2/com/google/code/gson/gson/2.8.0/gson-2.8…
Download https://libraries.minecraft.net/com/mojang/authlib/1.5.25/authlib-1.5.2…
Download https://libraries.minecraft.net/com/mojang/realms/1.10.17/realms-1.10.1…
Download https://repo1.maven.org/maven2/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1…
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.8.1…
Download https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.8…
Download https://libraries.minecraft.net/com/mojang/text2speech/1.10.3/text2spee…
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-debug-all/5.2/asm-debug-…
Download https://repo1.maven.org/maven2/ca/weblite/java-objc-bridge/1.0.0/java-o…
Error occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap
:decompileMc FAILED
BUILD FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':decompileMc'.
Total time: 3 mins 22.045 secs
> Process 'command 'C:\Pylo\MCreator176\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.
C:\Pylo\MCreator176\forge>
Task completed with return code 0 in 203012 milliseconds

Why did the setup fail and how can I fix it?

Last seen on 15:16, 11. Feb 2018
Joined Sep 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Eariler in the setup,…
Mon, 01/01/2018 - 20:34

Eariler in the setup, firewall tried to block Java, so could that be part of the reason the installion failed?

Last seen on 21:07, 8. Jan 2018
Joined Nov 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I'm getting the same thing,…
Wed, 01/03/2018 - 16:55

I'm getting the same thing, and i allowed java through the firewall too and ran as admin? i apologise if this is the excact same error log i thought i'd include it just in case... love the mod creator, have used the 1.10, the 1.8 and the 1.7.5 and loved them all!

Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Pylo\MCreator176>cd forge
C:\Pylo\MCreator176\forge>SET "JAVA_HOME=C:\Pylo\MCreator176\jdk32\"
C:\Pylo\MCreator176\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator176\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator176\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies
This mapping 'snapshot_20170624' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-583d1ba       
  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.
BUILD FAILED
* What went wrong:
Execution failed for task ':decompileMc'.
Total time: 2 mins 28.972 secs
> Process 'command 'C:\Pylo\MCreator176\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.
C:\Pylo\MCreator176\forge>
Task completed with return code 0 in 149333 milliseconds

Last seen on 19:39, 7. Jan 2018
Joined Jan 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
"Could not reserve enough…
Thu, 01/04/2018 - 21:36

"Could not reserve enough space for 3145728KB object heap"

Is there enough disk space where you're trying to install it? 3145728KB is 3 GB.

 

Last seen on 16:25, 4. Nov 2018
Joined May 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
   …
Fri, 01/05/2018 - 14:03

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
D:\mcreator>cd forge
D:\mcreator\forge>SET "JAVA_HOME=D:\mcreator\jdk32\"
D:\mcreator\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
D:\mcreator\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
D:\mcreator\forge>gradlew -Dorg.gradle.jvmargs="-Xms512m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
This mapping 'snapshot_20170624' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-583d1ba        
  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...
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOfRange(Arrays.java:3664)
   at java.lang.String.(String.java:207)
   at java.io.DataInputStream.readUTF(DataInputStream.java:661)
   at java.io.DataInputStream.readUTF(DataInputStream.java:564)
   at org.jetbrains.java.decompiler.struct.consts.ConstantPool.(ConstantPool.java:55)
   at org.jetbrains.java.decompiler.struct.StructClass.(StructClass.java:84)
   at org.jetbrains.java.decompiler.struct.StructClass.(StructClass.java:72)
   at org.jetbrains.java.decompiler.struct.StructContext.addArchive(StructContext.java:162)
   at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:101)
   at org.jetbrains.java.decompiler.struct.StructContext.addSpace(StructContext.java:79)
   at org.jetbrains.java.decompiler.main.decompiler.BaseDecompiler.addSpace(BaseDecompiler.java:36)
   at net.minecraftforge.gradle.tasks.fernflower.FernFlowerInvoker.runFernFlower(FernFlowerInvoker.java:68)
   at net.minecraftforge.gradle.tasks.fernflower.FernFlowerInvoker.main(FernFlowerInvoker.java:41)
Picked up _JAVA_OPTIONS: -Xmx900m
:decompileMc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':decompileMc'.
> Process 'command 'D:\mcreator\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: 7 mins 12.666 secs
Picked up _JAVA_OPTIONS: -Xmx900m
D:\mcreator\forge>
Task completed with return code 0 in 446141 milliseconds

 

 

this is it

Last seen on 21:07, 8. Jan 2018
Joined Nov 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
the adding of 'xms=512 xmx…
Fri, 01/05/2018 - 16:32

the adding of 'xms=512 xmx=2048'  to the pref file helped for me, and sorry about posting it here originaly althoug i did think this was the only post :s thanks for the fix though

Last seen on 21:07, 8. Jan 2018
Joined Nov 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
if you've read the report…
Fri, 01/05/2018 - 16:34

if you've read the report Matej has provided i think you'll see that in my case atleast i think you were right :)