Attempting to make a minecraft server. This is my error message
C:\Users\XXXXX\Desktop\server1>java -jar server1.jar
Error: Unable to access jarfile server1.jar
(XXXXX to protect my identity)
C:\Users\XXXXX\Desktop\server1>java -jar server1.jar
Error: Unable to access jarfile server1.jar
(XXXXX to protect my identity)
2
How exactly are you trying to access this jar file? Is it a default Minecraft server, or Bukkit/Spigot? Usually "Unable to access jarfile" means that the jar isn't found, so you may want to double-check the directory of the jar unless it's definitely on your desktop.
Is the server1.jar saved directly to your desktop? I'd throw it into it's own directory cause its gonna unload files when it does launch.
The way I do it is,
java -jar (then i drag the server jar here to give it the exact file path to use)
Also, make sure you're running the command prompt as administrator and that your server1.jar is set to open as administrator in it's right-click/properties
The way I do it is,
java -jar (then i drag the server jar here to give it the exact file path to use)
Also, make sure you're running the command prompt as administrator and that your server1.jar is set to open as administrator in it's right-click/properties
