Jump to content

Issue creating MC1.20.1 Forge 47.2.0 Server


Recommended Posts

If I try to run the provided batch file, I recieve an error regarding opening the file 'user_jvm_args.txt'.

Quote

Error: could not open `user_jvm_args.txt'

If I replace the 'user_jvm_args.txt' with my memory settings, I recieve the same error regarding 'win_args.txt', located in the folder 'libraries/net/minecraftforge/1.20.1-47.2.0'.

If I try and directly run the forge server file located in the afformentioned folder, I recieve an error referencing a possibly corrupted jarfile

If I run the forge installer directly from cmd, the output I recieve in the terminal is:

Quote

JVM info: Oracle Corporation - 18.0.2.1 - 18.0.2.1+1-1
java.net.preferIPv4Stack=true
Current Time: 03/03/2024 15:22:59
Host: files.minecraftforge.net [51.79.83.165]
Host: maven.minecraftforge.net [51.79.83.165]
Host: libraries.minecraft.net [13.107.213.64, 13.107.246.64]
Host: launchermeta.mojang.com [13.107.213.64, 13.107.246.64]
Host: piston-meta.mojang.com [13.107.246.64, 13.107.213.64]
Host: sessionserver.mojang.com [13.107.246.64, 13.107.213.64]
Host: authserver.mojang.com [Unknown]
Data kindly mirrored by CreeperHost at https://www.creeperhost.net/

 

Please note that I have attempted various other forge server versions and tried downloading the installer multiple times, yet I have consistently recieved the above errors.

Please also note that the reason I am using 1.20.1 is because that is Create has not as of yet updated to any more recent versions.

Bear in mind I may be stupid 🙏

Edited by Willo678
More info
Link to comment
Share on other sites

Posted (edited)

Already tried that, cheers tho

For reference, same result:

Quote

JVM info: Oracle Corporation - 17.0.3.1 - 17.0.3.1+2-LTS-6
java.net.preferIPv4Stack=true
Current Time: 03/03/2024 16:48:19
Host: files.minecraftforge.net [51.79.83.165]
Host: maven.minecraftforge.net [51.79.83.165]
Host: libraries.minecraft.net [13.107.213.64, 13.107.246.64]
Host: launchermeta.mojang.com [13.107.246.64, 13.107.213.64]
Host: piston-meta.mojang.com [13.107.246.64, 13.107.213.64]
Host: sessionserver.mojang.com [13.107.213.64, 13.107.246.64]
Host: authserver.mojang.com [Unknown]
Data kindly mirrored by CreeperHost at https://www.creeperhost.net/

 

Edited by Willo678
Link to comment
Share on other sites

Disregard previous statement; whilst my java_home path variable was set to java 17, for some reason the batch file was still using a different version of java.

Thanks for the help with my issue

Link to comment
Share on other sites

Do not make changes at the environment variables - to set the java version for your server, replace the word java in your script with the java 17 path to the javaw.exe - put this path into quotation marks

 

Example:
 

"C:\Program Files\Java\jdk-17.0.9\bin\javaw.exe" -Xmx4G -Xms2048M -jar server.jar 
pause 

 

Try my Modpack

spacer.png

>>Link to Curseforge<<

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



×
×
  • Create New...

Important Information

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