You simply start up a server folder with the jar file and let it create the world and other files then stop the server and replace the world folder in the server folder with your singleplayer world which is in the saves folder in your .minecraft folder. then run the server again and it should use your singleplayer world in the server.