Hi, I'm trying to create a modded server to play with my friend. Whenever I run the minecraft_server file. All the correct files are created and I can run and play the server fine. I can also adjust the amount of RAM and memory I can provide the server. Whenever I try to run the universal forge jar file it doesn't open, unless I use my run.bat file. It opens, and says:
"C:\Users\Jake Shear\Desktop\Extra>java -Xms1G -Xmx-1G -jar forge-1.12.2.jar
Invalid maximum heap size: -Xmx-1G
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit."
I'm running Java 64x with forge 1.12.2-14.23.5.2837