Start java in a separate process and give pval's a proper reference count.
Do not fork() if the user has hard-coded the socketname
pass modified user's environment to the child process
Initial