Test client not working

Started by Eonaut on

Topic category: Help with MCreator software

Last seen on 23:44, 18. Aug 2019
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Test client not working

Every time I try to test my mod I get this return code:

 

Executing gradle command: clean runClient
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Pylo\MCreator166>cd forge
C:\Pylo\MCreator166\forge>SET "JAVA_HOME=C:\Pylo\MCreator166\jdk32\"
C:\Pylo\MCreator166\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator166\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator166\forge>SET "JAVA_OPTS=-Xmx1024m -Xms512m"
C:\Pylo\MCreator166\forge>gradlew clean runClient
Error occurred during initialization of VM
Incompatible minimum and maximum heap sizes specified
Picked up _JAVA_OPTIONS: -Xmx256M
C:\Pylo\MCreator166\forge>
Task completed with return code 0 in 1735 milliseconds

 

What is wrong, and how canI fix it?

Last seen on 09:13, 24. Nov 2020
Joined Mar 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Delete the last thing you
Sun, 10/09/2016 - 15:28

Delete the last thing you made, if that don't work then your screwed

If this is for every work client in the program, probably reinstall or compile

Last seen on 23:44, 18. Aug 2019
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I reinstalled and it still
Wed, 10/19/2016 - 21:32

I reinstalled and it still says the same thing. 

Last seen on 19:01, 30. May 2022
Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Dear, User. Please modify the
Thu, 10/20/2016 - 03:57

Dear, User. Please modify the ram given to the Test client. You can find this by clicking on the "Preferences" button in the top right of the program. Adjust the ram appropriately.

Last seen on 23:44, 18. Aug 2019
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@xXMCXx: Could you explain
Thu, 10/20/2016 - 13:03

@xXMCXx: Could you explain that a little better? What do mean by apprppriately?

Last seen on 23:44, 18. Aug 2019
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've also discovered that I
Fri, 10/21/2016 - 21:39

I've also discovered that I can't export my mod to a .zip or .jar. WhenI try MCreator tells me there is an error in my mod...even though there should not be. Everything I try to do yields the same message, the only change being the amount of time it took to telll me that.

 

I have already tried deleting the mod and trying again, but it does this for EVERY mod in EVERY workspace I try. 

 

I also uninstalled/reinstalled MCreator, but to no avail.

 

Last seen on 23:44, 18. Aug 2019
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have done extensive trials
Fri, 11/25/2016 - 02:19

I have done extensive trials to fix this problem; this is what I have determined:

- it does this for all MCreator versions newer than 1.6.3

-it returns this error before it even launches the gradle

-it does this for the 32 bit and 64 bit downloads

-it will not export mods to zip or jar files as it claims there is an error in the mod

-it does this for uploaded mcr files and mods made from scratch in a differetn workspace

-adjusting ram designated to MCreatorseems to have no effect

-the only part of the error that changes is the time it takes to return the message

 

does ANYONE have ANY idea how to fix this?

Last seen on 23:44, 18. Aug 2019
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is literally the first
Fri, 11/25/2016 - 02:28

This is literally the first thing the console outputs upon strating the program:

the line in bold is in red letters, the rest of the error code is white

 

BOOTING UP GRADLE...
Data loaded, MCreator gradle console ready [ver 1.007]! [boot took 0 milliseconds]
RIGHT click once to copy log to the clipboard or twice to clear the 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\MCreator166>cd forge
C:\Pylo\MCreator166\forge>SET "JAVA_HOME=C:\Pylo\MCreator166\jdk64\"
C:\Pylo\MCreator166\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator166\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator166\forge>SET "JAVA_OPTS=-Xmx2048m -Xms625m"
C:\Pylo\MCreator166\forge>gradlew cleanCache clean setupDecompWorkspace --refresh-dependencies
Error occurred during initialization of VM
Incompatible minimum and maximum heap sizes specified
Picked up _JAVA_OPTIONS: -Xmx256M
C:\Pylo\MCreator166\forge>
Task completed with return code 0 in 1610 milliseconds

 

 

Last seen on 23:33, 2. Dec 2019
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
JAVA_OPTIONS: -Xmx256M…
Thu, 10/31/2019 - 16:48

JAVA_OPTIONS: -Xmx256M defines the given Ram to the program. 

You need to decrease or increase the Xmx (Ram). Here's how.

Open Mcreator,

press the gear icon,

Go to "Gradle Settings"

Change "Initial Memory" to 512

Change "Maximum Memory" to 1,500

If this does not work, i have no idea what's wrong with Mcreator.

I know this is an older…
Sun, 01/17/2021 - 12:56

I know this is an older topic, but if someone stumbles upon this problem

Error occurred during initialization of VM:

Picked up _JAVA_OPTIONS

a possible solution for this problem is described here: https://mcreator.net/wiki/gradle-setup-errors#wiki-index-14