support jvm load strategy using either a jar file or a classpath + main class
create pid file when spawning daemon