diff --git a/go/zk/zkctl/zksrv.sh b/go/zk/zkctl/zksrv.sh index a13dab5a2c..4fed666624 100755 --- a/go/zk/zkctl/zksrv.sh +++ b/go/zk/zkctl/zksrv.sh @@ -23,7 +23,7 @@ log() { return 0 } -for java in /usr/local/bin/java /usr/bin/java; do +for java in /usr/local/bin/java /usr/bin/java $JAVA_HOME/bin/java; do if [ -x "$java" ]; then break fi