mirror of https://github.com/longtai-cn/hippo4j
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.
14 lines
343 B
14 lines
343 B
3 years ago
|
@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!
|