Willo678 Posted March 3 Posted March 3 (edited) 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 March 3 by Willo678 More info Quote
TileEntity Posted March 3 Posted March 3 Use Java 17 instead of Java 18 1 Quote Try my Modpack >>Link to Curseforge<<
Willo678 Posted March 3 Author Posted March 3 (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 March 3 by Willo678 Quote
TileEntity Posted March 3 Posted March 3 Add the lines of the start script Quote Try my Modpack >>Link to Curseforge<<
Willo678 Posted March 3 Author Posted March 3 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 Quote
TileEntity Posted March 3 Posted March 3 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 Quote Try my Modpack >>Link to Curseforge<<
Recommended Posts
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.