I have been able to download the mincraft server file. `minecraft_server.1.7.10.jar version`

However, I have having difficulty running it. According to the tutorial, it says to run:
`-Xmx1024M -Xms1024M -jar minecraft_server.jar nogui` by saving it into a notepad, placing it in the same folder as the server, and double clicking it.

I did this by using the rich text document as I am on a Mac. No results.

So i tried running `-Xmx1024M -Xms1024M -jar minecraft_server.jar`. no results.

I am stuck, and not sure what to do next. anyone help please?

UPDATE: Thanks to everyone who posted! By sorting out through identified problems and more tutorials, the server is up and running. Although I do need to work out some of the details, thanks again to everyone.