@echo off:Looptasklist | findstr /i "javaw.exe" >nul 2>nul && (taskkill -f /im javaw.exeexit)goto Loopexit %ERRORLEVEL%