Mcreator java installation bug

Published by jean1398 on
Status
Fixed
Issue description

FIRSTLY LET ME MAKE THIS CLEAR MY JAVA VERSION IS 1.8

 

Okay so i've downloaded the Mcreator JAR file, 64bit operating system. i try to install and it fails giving me this error:

   
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_191
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 10733 milliseconds

 

I've apparently got "9.0.4" When i actually have 1.8. I've tried setting the version in bashrc and it doesn't work, tried setting java_home doesn't work.

 

I'd say a fix is to update mcreator to support 9+ (unsure if possible though but would fix many errors)

 

Many Thanks

Jean1398

Issue comments

Minecraft Forge only supports Java 8, so we have to stay on 1.8 for now. There are dozens of existing tickets so search a bit. Try completely uninstalling Java 9 for starters, then figure out how to properly set JAVA_HOME, as current versions won't work without it being set.

Ah.. 

 

 

but you see i did completely uninstall java 9.