Jump to content

Recommended Posts

Posted

Hi, I am trying to get into minecraft modding but I am having quite a bit of trouble,

 

At first when running the command it would go all the way till compiling and then would point out that I had the wrong JAVA_HOME path. I have since fixed both my JAVA_HOME and JRE_HOME, however when I have JAVA_HOME added I keep getting this error

21:54:49.329 [ERROR] [org.gradle.BuildExceptionReporter]
21:54:49.350 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
21:54:49.350 [ERROR] [org.gradle.BuildExceptionReporter]
21:54:49.350 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
21:54:49.351 [ERROR] [org.gradle.BuildExceptionReporter] Could not determine java version from '11.0.2'.
21:54:49.352 [ERROR] [org.gradle.BuildExceptionReporter]
21:54:49.352 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
21:54:49.352 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.

I get this no matter what I do as long as I have JAVA_HOME set to a value.

 

After looking around the web it seems as if I should be using an older version of java? however I have no way of getting one as you need an oracle account and a lisence to do so?

 

Am I just being an airhead?

 

Attached is a screencap of the console

gradlew error.png

Posted

You must use Java 8

  • Like 1

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted
  On 4/29/2019 at 8:09 PM, DaemonUmbra said:

You must use Java 8

Expand  

How would I get access to java 8? I have looked on oracles website and all the java 8 downloads are locked behind a login.

 

To make the matter worse I can not sign up as I am studying and therefore can't fill out sign up fields such as "company name".

Posted

It's still available on the JDK download page, just scroll down a bit.

https://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.