Provide the flexible way to customize the java opt when invoking agent process