Jump to content

Server Cannot Be Found in Batch File.


Recommended Posts

As the title suggests, I have not been able to set up a forge server using more RAM than it naturally allocates. I found that I am to use a batch file, so I set one up with this code:

cd "C:\Program Files\Java\jre1.8.0_201\bin\Java.exe" -server -d64 -Xmx2048M Xms2048M -jar forge-1.12.2-



I cannot seem to find the problem. The batch file says that it cannot find the file. The batch file is in the same folder as the forge server launcher, as well as the rest of the server files. Perhaps I am doing the formatting improperly, not 100% sure on how to correctly type it in as the guides on the internet have very confusing formatting.

Anyone care to enlighten me?

Link to comment
Share on other sites

28 minutes ago, Ugdhar said:

Try removing the "cd" from the beginning, and see if that helps.

cd opens the response in the Command Prompt. There should be no conflicts.


55 minutes ago, diesieben07 said:

Post a screenshot of your server folder and the exact error message.

I will when I am home, currently not. Thank you.

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.

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.