Trying to fix the memory leak/
Wildcard classpath to prevent crash on Windows, setting umask, getting daemon id from the envrironment.
BugzId: 2557