Posted December 27, 20222 yr Hello, I tried to make a minecraft server but in .bat file it gives error: Quote Error: Could not find or load main class @user_jvm_args.txt What have I to do?
December 28, 20222 yr When you created the server with the installer, it should have generated a user_jvm_args.txt file. It is looking for that file and it needs to be with the rest of the server. If it doesn't exist, you can create the file.
December 28, 20222 yr Author I have this file here is it content, its in root folder Quote # 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 Edited December 28, 20222 yr by CRAZYFAN125 Not working link to image
December 30, 20222 yr If you run `java --version` in the terminal, what version shows up? You need Java 17 to run Forge 1.18.2
December 30, 20222 yr Author Yeah... It seams I have 1.8.0_351 installed... So I have to reintall fully java? Quote java version "1.8.0_351" Java(TM) SE Runtime Environment (build 1.8.0_351-b10) Java HotSpot(TM) 64-Bit Server VM (build 25.351-b10, mixed mode)
January 8, 20232 yr Author Thanks, server runs well but I had to uninstall Java 17... After I installed it PC was randomly shutting down, I sended it to service and they said that some tasks are colliding with Java so I had to uninstall it... After unisntalling Java everything went back to normal So sorry for troubles what I have made to you @ChampionAsh5357 and whole support team.
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.