一、在linux下 nohup java -jar main.jar & 二、在Windows环境下 @echo off start "blade-security-check" javaw -jar main.jar