MCreator setup failed

Works as designed
Issue description

When I try to set up MCreator, it gives me the error code: MCREATOR_SETUP_FAILED. It's not very descriptive. I'm running JRE 8 update 191 and macOS 10.14 if that helps. Error log:

Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.1, 64-bit, 16384 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 '10.0.1'.
* 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 1444 milliseconds

Attachment Size
Screen Shot 2018-11-20 at 5.57.08 PM.png123.05 KB 123.05 KB

Issue comments

It seems that you have Java 10 installed too and set as the default Java on your system based on this error. And MCreator needs JDK, not JRE. I suggest you uninstall Java 10 and install JDK 8. Check this page for more info:

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.