fixed launching java process on mac