Errors During First Time Setup (Error Logs Included)

Started by TheGamingReaver on Thu, 02/16/2017 - 20:07

Topic category: Bugs and solutions

Last seen on 22:37, 21. Feb 2017
Joined Aug 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Errors During First Time Setup (Error Logs Included)
Thu, 02/16/2017 - 20:12 (edited)

I decided to try and download MCreator again yesterday after not using it for a while. I went and downloaded 1.7.1 for Minecraft 1.10.2 and installed it. After installing I opened it and it downloaded the Forge MDK then started setting it up. After getting to :decompileMc it would error out (Error Log 1) telling me it "Could not reserve enough space for 3145728KB object heap". I first thought I just needed more virtual memory so I bossted that up to 3 gigs like it says it needs but to no avail. Later I found a way to fix that by googling a bit and learned it had to do with MCreator coming with it's own 32bit Java when I run 64bit. So I replace most of the C:\Pylo\MCreator171\jdk32\jre folder with my own Java jre and try to run MCreator again. It downloads and starts setting up and this time gets past decompiling and proceeds to error out (Error Log 2) but this time at :recompileMc because I accidently was missing the javac.exe. I put that back and boot it up yet again. This time instead of taking a few minutes before erroing out it does it in 4 seconds. It tells me it's also missing a coupl dlls so I put those in too and try yet again. It now says (Error Log 3) "Can't load AMD 64-bit .dll on a IA 32-bit platform" Any clue how to fix this? I have been working on this since yesterday lol. I'll put the error logs below.

~Error Log 1~

Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
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.
This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-2112b0a        
  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'.
> Process 'command 'C:\Pylo\MCreator171\jdk32\bin\java.exe'' finished with non-zero exit value 1
* Try:
BUILD FAILED
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 1 mins 48.963 secs
C:\Pylo\MCreator171\forge>
Task completed with return code 0 in 109733 milliseconds

 

~Error Log 2~

Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
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.
This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-2112b0a        
  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
:fixMcSources
:applySourcePatches
:remapMcSources
:recompileMc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':recompileMc'.
> Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Pylo\MCreator171\jdk32"
* 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 1.714 secs
C:\Pylo\MCreator171\forge>
Task completed with return code 0 in 423113 milliseconds

 

~Error Log 3~

Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
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
Error occurred during initialization of VM
Unable to load native library: Can't load AMD 64-bit .dll on a IA 32-bit platform
C:\Pylo\MCreator171\forge>
Task completed with return code 0 in 680 milliseconds

 

Edited by TheGamingReaver on Thu, 02/16/2017 - 20:12
Last seen on 17:29, 27. Sep 2020
Joined Dec 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I think MCreator is built
Fri, 02/17/2017 - 02:46

I think MCreator is built upon 32-bit Java, looking at this snippet from your 3rd error log:

"Error occurred during initialization of VM

Unable to load native library: Can't load AMD 64-bit .dll on a IA 32-bit platform"

Try reinstalling MCreator and see if you get the same errors.

Last seen on 22:37, 21. Feb 2017
Joined Aug 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
RE:I think MCreator is built
Fri, 02/17/2017 - 03:17

@#1 
Okay, I reinstalled and now it's back to not being able to reserve enough space when trying to decompile MC. The problem is if I fix that issue the same way again it will likely error out with the "Unable to load native library: Can't load AMD 64-bit .dll on a IA 32-bit platform" error yet again. Any other ideas? The 32bit java it comes with doesn't seem to work well with my computer. I'm running Windows 10 with an AMD Athlon II X2 235e 2.7 GHz proccesorand 6GB of RAM. I think that should be good enough but I'm not really sure lol.

~Error Log~
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.
This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peril.
#################################################
         ForgeGradle 2.2-SNAPSHOT-2112b0a        
  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'.
> Process 'command 'C:\Pylo\MCreator171\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: 3 mins 22.469 secs
C:\Pylo\MCreator171\forge>
Task completed with return code 0 in 204534 milliseconds

Last seen on 14:52, 9. Apr 2017
Joined Mar 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I found the cure to the bug! 
Fri, 03/31/2017 - 20:50

I found the cure to the bug! 

go to: Control Panel\System and Security\System then click on advanced system settings

once the wiodow pops up at the bottom click on Enviroment Variables...

 on system varibles click new 

variable name "_JAVA_OPTIONS"

then for value put "-Xmx1000m"

run MCreator and hope it works!