nohup must run java command directly to capture the right PID