Minecraft servers

I’m making a minecraft server but when it goes onto the cmds it says Error: Unable to access jarfile forge.jar can somebody help?

Either the file is missing or its launch is prohibited.

Im not rrly sure what to do

Thats the forge installer. You need to extracr the server