I'm currently building a Minecraft server. I have the .jar file
"mcserver.jar" and I have also entered the same name in the batch file. But as soon as I start the .bat file, a window opens in the taskbar for 1ms and then closes again immediately.
Otherwise the command prompt works normally, and a batch file with "start mspaint" works otherwise.
Times restart the PC
I already tried it yesterday and today too. (The PC was off overnight.)
Okay, then you have no choice but to delete everything again and set up the server again
I've already tried xD
Then I would say take the PC and get xD out of the window
Enter times after
Break
a. And then see what the error message is.
Judging by the screenshot, you have no Java installed.
Install Java 8 (JRE8) and then restart so that the command 'java' (as you use it in the .bat) becomes available.
Thanks, I forgot to install Java because I built a new PC and I completely forgot about xD
I just had to install JAVA because the PC is NEW and I forgot that
Let us know if that helped ^^