Watch the video:
Timestamps:
0:00 - Explanation
0:16 - Run.bat example
0:40 - The error
1:03 - Checking and downloading the correct Java version
3:39 - Testing server
4:08 - Still not working? Solution.
“‘java’ is not recognized as an internal or external command”?
Don’t worry, here’s a super simple fix, and another few options in case it doesn’t work. This video should help you get unstuck in no time.
Download Java: https://java.com/en/download/manual.jsp
If nothing works, this might help: Jarfix: Go to post or View on YouTube