You need to start a server and connect to it. Server is a separate file that can be started with java -jar filename.jar.