You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hippo4j/hippo4j-server/bin/shutdown.cmd

14 lines
343 B

@echo off
if not exist "%JAVA_HOME%\bin\jps.exe" echo Please set the JAVA_HOME variable in your environment, We need java(x64)! jdk8 or later is better! & EXIT /B 1
setlocal
set "PATH=%JAVA_HOME%\bin;%PATH%"
echo killing hippo4j server
for /f "tokens=1" %%i in ('jps -m ^| find "hippo4j.hippo4j"') do ( taskkill /F /PID %%i )
echo Done!