Mcreator won't launch on Mac with Java 10

Published by Chrinecto on Fri, 09/14/2018 - 14:22
Status
Works as designed
Type
Product/platform
MCreator/macOS
Priority
Normal
Issue description

I tried to launch creator but it said that there was an error but I couldn't figure out what it was. I copied the error message thing:

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.0, 64-bit, 8192 MB, Mac OS X, JVM 1.8.0_181
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '10.0.2'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Task completed with return code 1 in 3045 milliseconds
   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.0, 64-bit, 8192 MB, Mac OS X, JVM 1.8.0_181
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '10.0.2'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Task completed with return code 1 in 2579 milliseconds
   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.0, 64-bit, 8192 MB, Mac OS X, JVM 1.8.0_181
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '10.0.2'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Task completed with return code 1 in 2723 milliseconds

Issue comments

You are using Java 10, where MCreator only supports Java 8. Check this page for more info: https://mcreator.net/install/mac

You need to have Java 8 as default Java on your computer (JAVA_HOME) and the moment.

Verify this by running java -version to make sure Java 8 is used.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.