I’m trying to run a minecraft server and when I type the command:
java -Xmx1024M -xms1024M -jar minecraft_server.1.21.jar
and I get – Error: unable to access jarfile minecraft_server.1.21.jar…
I looked at a few post talking about permissions so I tried running cmd as administrator and even navigated to the file path to run it.
3
check ur typos, maybe it’s not “1.21” but “1_21”? Or use the absolute path?
New contributor
Olina is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1