Unable to access jarfile
The file name in your start command does not match the jar in the folder. If the command says server.jar, the file must be named exactly server.jar. Downloads are often named like paper-26.1-50.jar; rename the file or update the command.
- Windows hides extensions by default, so server.jar may really be server.jar.jar
- Run the script from the same folder as the jar, or use full paths
- Names with spaces need quotes around them
"java" is not recognized
Java is not installed, or not on the PATH. Install a current Java build such as Eclipse Temurin in the version your Minecraft release needs, ticking the option to add it to the PATH. Open a new command prompt and run java -version to check.
If several Java versions are installed, use the full path in your script, for example "C:\Program Files\Eclipse Adoptium\jdk-25\bin\java.exe", so the right one is always used.
On a hosted server
The panel builds the start command. If the jar is missing, check the startup settings for the jar file name, or reinstall the server software from the panel. Java is selected from the startup image rather than installed by you.