Posted July 1Jul 1 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
July 1Jul 1 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 July 1Jul 1 by TileEntity Try my Modpack >>Link to Curseforge<<
July 1Jul 1 Author 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!
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.