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

Started by cubeultm on

Topic category: Help with MCreator software

Active 2 years ago
Joined Apr 2023
Points:
258

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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