I tried to create a 1.12.2 server but I can't start the server with my .bat file because this is just this report?

wo
- in Launchers
3

C: \ Users \ ***** \ Desktop \ 1.12.2 Server> "C: \ Program Files (x86) \ Minecraft \ runtime \ jre-x64 \ 1.8.0_51 \ bin \ java.exe" -Xms3G-Xmx3G -jar minecraft_server.1.12.2.jar gui

A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke (Method.java:497)

at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run (ServerLaunchWrapper.java:70)

at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main (ServerLaunchWrapper.java:34)

Caused by: java.lang.NoClassDefFoundError: org / apache / logging / log4j / Level

at net.minecraft.launchwrapper.Launch.launch (Launch.java:94)

at net.minecraft.launchwrapper.Launch.main (Launch.java:28)

… 6 more

Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level

at java.net.URLClassLoader.findClass (URLClassLoader.java:381)

at java.lang.ClassLoader.loadClass (ClassLoader.java:424)

at sun.misc.Launcher $ AppClassLoader.loadClass (Launcher.java:331)

at java.lang.ClassLoader.loadClass (ClassLoader.java:357)

… 8 more

C: \ Users \ c-d-f \ Desktop \ 1.12.2 Server> pause

Press any key…

This comes from the "console"

Co

What is it you change the command as follows?

java -Xmx3G -Xms2G -jar minecraft_server.1.12.2.jar

Say let the Java path away exchange the position of Xmx and Xms and let the parameter gui away, who you omit that you still have the gui.

wo

Unfortunately still does not work

Me

Did you install Java 8?

Try it with a vanilla version of Minecraft.