Jump to content

Recommended Posts

Posted (edited)

so ive been trying to play on 1.17.1 with my freinds since forge cam out for it, but when i go to run the run.bat file in the server file it says i have an error with the user_jvm_args file and to press any button to continue but when i do the CMD prompt crashes, but i followed everything and the user_jvm_args file should be correct but it just doesnt work 

user_jvm_args file:

# Xmx and Xms set the maximum and minimum RAM usage, respectively.
# They can take any number, followed by an M or a G.
# M means Megabyte, G means Gigabyte.
# For example, to set the maximum to 3GB: -Xmx3G
# To set the minimum to 2.5GB: -Xms2500M

# A good default for a modded server is 4GB.
# Uncomment the next line to set it.
-Xmx4G 

run.bat file:

C:\Desktop\1.17.1>REM Forge requires a configured set of both JVM and program arguments

C:\Desktop\1.17.1>REM Add custom JVM arguments to the user_jvm_args.txt

C:\Desktop\1.17.1>REM Add custom JVM arguments {such as nogui} to this file at the end of the nect line

C:\Desktop\1.17.1>java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.17.1-37.0.19/win_args.txt
Error: Could not find or load main class @user_jvm_args.txt

C:\Desktop\1.17.1>pause
Press any key to continue . . .

Edited by Fred.20
Posted

Java 17 literally released today and apparently removed some stuff used by a library we use... so no, not compatible

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.