Running a Java process in Windows even after the user is logged out

前端 未结 5 629
醉话见心
醉话见心 2020-12-19 13:10

I have a batch file that starts a Java process in a Windows 2003 server. As per the security policy, the users of that machine are logged off forcefully, if the user is inac

5条回答
  •  温柔的废话
    2020-12-19 13:54

    I don't know it this is relevant but we are using a flag to the jvm so it does not shutdown on logoffs

    "java -Xrs"
    

    Link to suns description of -Xrs

提交回复
热议问题