Moved input scanner to a separated method getPath() and check if the path entered exists before trying to play the files.
Make the jar file name a property and added a new target - run.