MCreator setting up failed - Unsupported major.minor version

Status
Works as designed
Type
Product/platform
Not applicable
Priority
Normal
Issue description

MCreator was not able to connect to the internet. Gradle tasks might not work.
   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Support for running Gradle using Java 6 has been deprecated and will be removed in Gradle 3.0
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/xiaosha/Desktop/MCreator 1/forge/build.gradle' line: 10
* What went wrong:
A problem occurred evaluating root project 'forge'.
> java.lang.UnsupportedClassVersionError: net/minecraftforge/gradle/user/patcherUser/forge/ForgePlugin : Unsupported major.minor version 52.0
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1 mins 16.529 secs
Task completed with return code 1 in 78298 milliseconds

Issue comments

You are using Java 6 where only Java 8 is supported by MCreator. Update Java to version 8 and verify with java -version command.

MCreator was not able to connect to the internet. Gradle tasks might not work.
   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Support for running Gradle using Java 6 has been deprecated and will be removed in Gradle 3.0
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/xiaosha/Downloads/MCreator 1/forge/build.gradle' line: 10
* What went wrong:
A problem occurred evaluating root project 'forge'.
> java.lang.UnsupportedClassVersionError: net/minecraftforge/gradle/user/patcherUser/forge/ForgePlugin : Unsupported major.minor version 52.0
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 53.055 secs
Task completed with return code 1 in 54755 milliseconds
   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Support for running Gradle using Java 6 has been deprecated and will be removed in Gradle 3.0
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/xiaosha/Downloads/MCreator 1/forge/build.gradle' line: 10
* What went wrong:
A problem occurred evaluating root project 'forge'.
> java.lang.UnsupportedClassVersionError: net/minecraftforge/gradle/user/patcherUser/forge/ForgePlugin : Unsupported major.minor version 52.0
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 40.429 secs
Task completed with return code 1 in 41869 milliseconds



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.