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

Downloaded forge for 1.18.2 latest client. then went ahead and got the server version too and put it in a folder. ran the .bat you get with it and it tells me 
 


B:\create pack>REM Forge requires a configured set of both JVM and program arguments.

B:\create pack>REM Add custom JVM arguments to the user_jvm_args.txt

B:\create pack>REM Add custom program arguments {such as nogui} to this file in the next line before the  or

B:\create pack>REM  pass them to this script directly

B:\create pack>java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.1.68/win_args.txt
Error: Could not find or load main class @user_jvm_args.txt

B:\create pack>pause
Press any key to continue . . .
 

which I know your supposed to get that, but your supposed to get more. And so im also not getting the eula and config folder ans stuff liek that. I have been messing around with java versions recently for another dumb issue I had maybe its related. I have java sedk 18.0.1.1 64 bit only installed now. Still no good. What am I doing wrong, if anything.


Thank you ❤️

Then you do not start the server with java 17.

Replace the java keyword in the run.bat file with the full path of the java 17 executable (java.exe).
If the path contains a space you need to put it into quotes.

  • Author

Jesus christ I feel so fucking stupid. i get a bunch of weird lines if i run. do I add anything else that : "C:\Program Files\Java\jdk-17.0.4\bin\java.exe" 
pause

ty for ur time my guy ❤️

if this is your path to java 17 the run.bat file should look like this:

// here should be the "@echo off" line and the "REM" lines
"C:\Program Files\Java\jdk-17.0.4\bin\java.exe" @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.19-41.0.61/win_args.txt %*
pause
  • 8 months later...

Hey, I got the same error, did the same like @Luis_ST did, it worked somehow, but now i've got an other error: 
Error: could not open `libraries/net/minecraftforge/forge/1.19.4-45.0.43/win_args.txt'

I hope anybody is able to help me with this problem

  • 5 months later...
  • 4 months later...

I got this same error. i fixed it by installing java sdk 17. then deleting my whole server folder. then making a new one and download necsesary stuff from the server.jar file. and it worked like a charm.

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.