make sure your .jar file name is minecraft_server.1.12.2 or somthing like that. if so change the minecraft_server.jar too "minecraft_server.1.12.2.jar"
and if you are useing forge 1.12.2 change it to "forge-1.12.2-14.23.0.2544-universal.jar"
Now it took me a while to figure this out mabe 10 mins LAWL.. anyhow may start.bat file was this
"Unable to access jarfile minecraft_server.jar
Frist Check
"minecraft_server.jar"
make sure your .jar file name is minecraft_server.1.12.2 or somthing like that. if so change the minecraft_server.jar too "minecraft_server.1.12.2.jar"
Now it took me a while to figure this out mabe 10 mins LAWL.. anyhow may start.bat file was this
"java -Xms2G -Xmx2G -jar minecraft_server.1.12.2.jar nogui"
after that i was just messing around board .. btw this is my frist minecraftserver, anyways i was like that dont make no damn sense..
so i changed it to this and it work just fine
"Java -Xms1024m -Xmx1024m -jar minecraft_server.1.12.2.jar"
and the samething goes with the FORGE
i think it has somthing to do with the the Java not being cap like so "Java" in stead of "java"
anyway just let me it this fixs it and if the Java not being cap is it
"Java -Xms1024m -Xmx1024m -jar forge-1.12.2-14.23.0.2544-universal.jar
HERE IS MY NEW START.BAT
Help's With Server Lag as Well
Java -Xincgc -Xms1024m -Xmx1024m -Xmn512M -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+UseAdaptiveSizePolicy -XX:+DisableExplicitGC -Xnoclassgc -oss4M -ss4M -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=4 -XX:PermSize=1G -XX:+AggressiveOpts -cp "forge-1.12.2-14.23.0.2544-universal.jar" -jar "forge-1.12.2-14.23.0.2544-universal.jar"
It's the wrong order.
XMX goes first and then XMS lol
pause
EXE:
java -Xmx1G -Xms1G -jar forge-1.11-13.19.1.2199-universal.jar
pause
Make sure you use java 8. Java 7 is no longer supported with a lot of things especially in 1.12.2
Leave a thanks if I helped you!