Topic category: Help with MCreator software
I'm currently starting a mod and each time I do anything in it, this message apear in the console :
Executing gradle command: clean build
Microsoft Windows [version 10.0.14393]
(c) 2016 Microsoft Corporation. Tous droits r‚serv‚s.
C:\Pylo\MCreator175>cd forge
C:\Pylo\MCreator175\forge>SET "JAVA_HOME=C:\Pylo\MCreator175\jdk64\"
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="-Xms625m -Xmx2048m" clean build
This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril.
#################################################
ForgeGradle 2.2-SNAPSHOT-2112b0a
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
:clean UP-TO-DATE
:deobfCompileDummyTask
FAILURE: Build failed with an exception.
* What went wrong:
java.lang.NullPointerException (no error message)
* Try:
:getVersionJson
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 23.378 secs
C:\Pylo\MCreator175\forge>
Task completed with return code 0 in 24793 milliseconds
please could anyone figure out what I can do to solve it ?
PS: I'm on MCreator 1.7.5 and I also have a pop-up message saying: Gradle task failed (some stuff) ERROR CODE: GRADLE_BUILD_FAILED [-23]
PS2: I can't delete or edit anything at all...
I posted this on your last one but just in case you dont see it here ya go.
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!
Where can I find the Control panel?
@budgiegamer it still does the same thing despite saying in the console "Picked up _JAVA_OPTIONS -Xmx 1000m so... What to do ?
How much RAM you have? If I find that is 3GB or less of RAM, that's the problem.
I have 4GB of RAM... thanks for helping but do anyone (including you) have a solution then ?
@#5 Then it's because MCreator is unstable on 32bit computers.
I'm on a 64 bits computer...
@#6 So it's a issue on MCreator.
how can I fix it please ?
try a lower number like Xmx900M mabe that will help
doesn't work with 900 and with 800, it tells me that :
Executing gradle command: clean build Microsoft Windows [version 10.0.14393] (c) 2016 Microsoft Corporation. Tous droits r‚serv‚s. C:\Pylo\MCreator175>cd forge C:\Pylo\MCreator175\forge>SET "JAVA_HOME=C:\Pylo\MCreator175\jdk64\" 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="-Xms625m -Xmx2048m" clean build This mapping 'snapshot_20161220' was designed for MC 1.11! Use at your own peril. ################################################# ForgeGradle 2.2-SNAPSHOT-7f5a769 https://github.com/MinecraftForge/ForgeGradle ################################################# Powered by MCP unknown http://modcoderpack.com by: Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn, bspkrs ################################################# :clean UP-TO-DATE :deobfCompileDummyTask FAILURE: Build failed with an exception. * What went wrong: java.lang.NullPointerException (no error message) * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. :getVersionJson BUILD FAILED Total time: 1 mins 14.642 secs Picked up _JAVA_OPTIONS: -Xmx800M C:\Pylo\MCreator175\forge> Task completed with return code 0 in 77878 milliseconds
Umm, sorry to change topic. But i have a problem, actually 2 of them. #1: i cant make new topics because of stupid Reptcha verification, wich doesnt work in the country im in. #2: MCreator wont install, its stuck on downloading MDK forge. Which i already installed through mcreator, the first time. So if anyone can shed some light to my problem that would be great.