Run Gradle using another Java runtime (not the packaged one)

Started by cubeultm on

Topic category: Help with MCreator software

Last seen on 09:30, 26. May 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Run Gradle using another Java runtime (not the packaged one)

I'm using MCreator 2021.1 for a school project, because the laptops there only allow their pre-installed JRE8 to run (but not the bundled JDK in MCreator).

When I tried to create a Workspace, Gradle failed because the bundled JDK would not run (because of software restrictions).

Is there a way to get Gradle to run with the system's JRE, or, would Gradle even run with JRE?

Gradle needs JDK to build…
Fri, 04/14/2023 - 06:29

Gradle needs JDK to build files so JRE will not do it. Also MCR and Forge Gradle will not run on J8 anymore