Jump to content

Recommended Posts

Posted

when i install the server files for 1.12.2 forge and accept the eula and all that my server only runs with about 250mb of ram, i've made servers before and from what i recall there's usually a batch file but for some reason with forge 1.12 there is no batch file, i searched this problem up and apparently it's okay to just make your own batch file and i put the usual java xmx xms stuff but for some reason when i run it i get given some weird error, something to do with class loaders not being allowed to cast to some url class loader. i'm not too sure if it's something to do with forge needing 2 arguments in the batch file because in my 1.19 server it said it also needed a second argument to run forge properly, but i can't really recreate that in my 1.12 server because the library file that it's pointing to in my 1.19 server doesn't actually exist in my 1.12 server. please help i just want my ram

Posted (edited)

Replace the world java with the Java 8 path to the javaw.exe file and put it into quotation marks

 

Example:

"C:\Program Files\Java\jre1.8.0_311\bin\javaw.exe" -Xmx4G -Xms2048M -jar server.jar 
pause 

 

Edited by TileEntity

Try my Modpack

spacer.png

>>Link to Curseforge<<

Posted
4 hours ago, TileEntity said:

Replace the world java with the Java 8 path to the javaw.exe file and put it into quotation marks

 

Example:

"C:\Program Files\Java\jre1.8.0_311\bin\javaw.exe" -Xmx4G -Xms2048M -jar server.jar 
pause 

 

worked like a charm, thanks!

  • Like 1

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.