MCreator Setup Failed!

Upvotes: 0
Issue description

When it is caching the files, the error shows. The code is: MCREATOR_SETUP_FAILED

Log:

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.1, 64-bit, 4096 MB, Mac OS X - bash, JVM 1.8.0_191, JAVA_HOME: Default (not set)
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '9.0.4'.
* 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 1989 milliseconds

Issue comments

Developer Submitted by Klemen on Thu, 01/24/2019 - 12:42

You are using Java 9, 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.

MCreator 1.8.2 will allow you to specify the path to Java 8, but for now, Java 8 needs to be the default Java on your Mac.

Sorry, I just found a really easy way of doing this. MCreator works fine now, thanks!