Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How to solve this problem :(


ossasad
 Share

Recommended Posts

Hello everyone,I've been bothered by it for a long time🙃.Here is the excerpt from the code.My jdk is 8 and I've tried JDK17 ,but it did not work.

I've set classpath and JAVA_HOME ,and they seems to be normal.Is anyone can help me?

Any help is appreciated🥺(My English is not fluent,so I perhaps ask u some stupid questions.Pardon me)
 

Spoiler

C:\Users\asus>set java_home
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_311

C:\Users\asus>set classpath=C:\Program Files\Java\jdk1.8.0_311\bin

C:\Users\asus>set classpath
classpath=C:\Program Files\Java\jdk1.8.0_311\bin

C:\Users\asus\Desktop\forge>gradlew setupDecompWorkspace
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.10.3/userguide/gradle_daemon.html.

> Starting Daemon

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 'forge'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find any matches for net.minecraftforge.gradle:ForgeGradle:3.+ as no versions of net.minecraftforge.gradle:ForgeGradle are available.
     Searched in the following locations:
       - file:/C:/Users/asus/Desktop/forge/maven.minecraftforge.net/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml
       - file:/C:/Users/asus/Desktop/forge/maven.minecraftforge.net/net/minecraftforge/gradle/ForgeGradle/
       - https://jcenter.bintray.com/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml
       - https://jcenter.bintray.com/net/minecraftforge/gradle/ForgeGradle/
       - https://repo.maven.apache.org/maven2/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/net/minecraftforge/gradle/ForgeGradle/
     Required by:
         project :

* 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 12s

 

Link to comment
Share on other sites

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
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.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.