Jump to content

Recommended Posts

Posted
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\Naver789>cd Desktop\MM\MyMod

C:\Users\Naver789\Desktop\MM\MyMod>gradlew genEclipseRuns
To honour the JVM settings for this build a new JVM will be forked. Please consi
der using the daemon: https://docs.gradle.org/4.9/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'MyMod'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve net.minecraftforge.gradle:ForgeGradle:3.+.
     Required by:
         project :
      > Failed to list versions for net.minecraftforge.gradle:ForgeGradle.
         > Unable to load Maven meta-data from https://files.minecraftforge.net/
maven/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml.
            > Could not get resource 'https://files.minecraftforge.net/maven/net
/minecraftforge/gradle/ForgeGradle/maven-metadata.xml'.
               > Could not GET 'https://files.minecraftforge.net/maven/net/minec
raftforge/gradle/ForgeGradle/maven-metadata.xml'.
                  > sun.security.validator.ValidatorException: PKIX path buildin
g failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s

  I am new in java scripting so I have no clue where my Error is. I try to make my own mod for Minecraft with eclipse and forge. In the installation manuel the first step is to run cmd with the command "gradlew genEclipseRuns", but after that it crashes and says " Build failed". I already found some possible solution for that problem in this forum but none of them had worked for me.

-I installed Java jdk1.8.0_212 and jre1.8.0_212

-I am using Minecraft 1.14.3 and Forge 1.14.3

-I am using Windows 8.1 Pro 2013 64bit and also java is 64bit

-RAM is high enough "org.gradle.jvmargs=-Xmx3G"

 

Can someone help me please?

 

Posted
1 hour ago, diesieben07 said:

You're using an outdated version of Java.

C:\Users\Naver789\Desktop\MM\MyMod>gradlew genEclipseRuns
To honour the JVM settings for this build a new JVM will be forked. Please consi
der using the daemon: https://docs.gradle.org/4.9/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'MyMod'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve net.minecraftforge.gradle:ForgeGradle:3.+.
     Required by:
         project :
      > Failed to list versions for net.minecraftforge.gradle:ForgeGradle.
         > Unable to load Maven meta-data from https://files.minecraftforge.net/
maven/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml.
            > Could not get resource 'https://files.minecraftforge.net/maven/net
/minecraftforge/gradle/ForgeGradle/maven-metadata.xml'.
               > Could not GET 'https://files.minecraftforge.net/maven/net/minec
raftforge/gradle/ForgeGradle/maven-metadata.xml'.
                  > sun.security.validator.ValidatorException: PKIX path buildin
g failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s

 

I updated Java but still "Build Failed"

Posted
1 hour ago, diesieben07 said:

Gradle is using an old version of Java.

Thank you very much for your reply, it worked, my enviromental varibles were wrong, but know it works.

 

But I have still an issue, after setting everything up the "MDKexample" (the template project) is missing.

I tried to delete everthing and to reset everthing but that file is still missing.

-i used the command "gradlew genEclipseRuns"

-after that i also used the command "gradlew eclipse"

-both were successfull

-than I started eclipse, and selected the main folder "MyMod" --> no files

-than i tried to search for the file manualy --> no files

 

i would be very thankfull for another advice

 

ps.I probably should make a new topic for that question

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.