Create javaservice.sh

This is used to create a jar file as a service in linux