Run a java program in backend

nohup java -jar $PATH_TO_JAR > /var/log/myservice.log  2>&1 &