mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
9 lines
239 B
Bash
9 lines
239 B
Bash
#!/bin/sh
|
|
|
|
if [ -z "$JAVA_HOME" ] ; then
|
|
echo "Error: JAVA_HOME is not defined."
|
|
exit 1
|
|
fi
|
|
|
|
"$JAVA_HOME/bin/java" -Dfile.encoding="UTF-8" -cp "./druid-0.2.6.jar:$JAVA_HOME/lib/tools.jar" com.alibaba.druid.support.console.DruidStat $@
|