Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

So, I haven't changed a single line of code from the examples that i downloaded from the forge website.  I am using intelij.

I tried a lot of things: updating software, reinstalling it i tried editing files i tried literally everything, i read a lot of git hub and so bullsh and i can't fix it. These are the issues

Quote

Execution failed for task ':runClient'.
> Process 'command 'C:\Users\User\.jdks\bin\java.exe'' finished with non-zero exit value 1

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

When i try to run with --starcktrace or --debug it says
 

Quote

 

D:\untitled2>gradle --warning-mode=all

FAILURE: Build failed with an exception.

* Where:
Build file 'D:\untitled2\build.gradle' line: 11

* What went wrong:
A problem occurred evaluating root project 'untitled2'.
> Failed to apply plugin 'net.minecraftforge.gradle'.
   > Found Gradle version Gradle 6.8.3. Versions Gradle 6.0.0 and newer are not supported in FG3, FG4 however supports Versions 6.8.1 and newer. Consider upgrading.

 

I tried different versions of Gradle, nothing helped.Here is Build file 'D:\untitled2\build.gradle' line: 11-> apply plugin: 'net.minecraftforge.gradle'

P.s: I am not entirely what is going on, i have read the Forge docs, so i technically know, but i have zero practice, because i just started

P.s.ps: I am new to this forum so I`m sorry for any mistakes, and sorry if my English is ass, you could probably tell without me mentioning it, I`m not a native English speaker

 

  • Author

EDIT: After a shit ton of debugging i remembered that the only thing i didn't reinstall was my JDK, so i did that and it works now.

EDIT: i changed the  JDK and i ran it for the first time, no error.

After i changed the JDK i got the same error with a different name: error

Quote

Execution failed for task ':runClient'.
> Process 'command 'C:\Users\User\.jdks\corretto-1.8.0_282\bin\java.exe'' finished with non-zero exit value 1

 LAST EDIT: i found the fucking issue i am so sorry for spamming but i haven't slept since yesterday this modding shit is so consuming gn boys

Edited by FrediOtMahlata
issue fixed

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.