Copy ProcessTool.createJavaProcessBuilder functionality from hotspot/test Reviewed-by: rriggs, sspitsyn, dholmes