Gradle and setup fail

Started by Diamond Human on

Topic category: Troubleshooting, bugs, and solutions

Active 7 years ago
Joined Sep 2017
Points:
703

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
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

Active 6 years ago
Joined Aug 2017
Points:
823

User statistics:

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

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

Active 7 years ago
Joined Sep 2017
Points:
703

User statistics:

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

@#1 ​wheres preferences because im new

Active 6 years ago
Joined Aug 2017
Points:
823

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 206
:/
Thu, 09/07/2017 - 17:32

:/

Active 7 years ago
Joined Sep 2017
Points:
703

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
Thanks!
Sat, 09/09/2017 - 12:44

Thanks!

Active 7 years ago
Joined Sep 2017
Points:
703

User statistics:

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

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

Active 6 years ago
Joined Aug 2017
Points:
823

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 206
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.

Active 6 years ago
Joined Aug 2017
Points:
823

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 206
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.

Active 7 years ago
Joined Sep 2017
Points:
703

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
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

Active 7 years ago
Joined Sep 2017
Points:
703

User statistics:

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

Now its stuck to deobfMcSRG

Active 7 years ago
Joined Sep 2017
Points:
703

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
Never mind
Sat, 09/09/2017 - 19:51

Never mind

Active 7 years ago
Joined Sep 2017
Points:
703

User statistics:

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

Worked! Now im making a mod called BLUES!

Active 6 years ago
Joined Aug 2017
Points:
823

User statistics:

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

@#8 Happy to hear!

Blues mod?

Active 7 years ago
Joined Sep 2017
Points:
703

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
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