panda@panda-VirtualBox:~/zookeeper-server/zk1/bin$ ls
README.txt zkCli.cmd zkEnv.cmd zkServer.cmd zkServer.sh
zkCleanup.sh zkCli.sh zkEnv.sh zkServer-initialize.sh
panda@panda-VirtualBox:~/zookeeper-server/zk1/bin$ sh zkServer.sh start
zkServer.sh: 80: /home/panda/zookeeper-server/zk1/bin/zkEnv.sh: [[: not found
-p: not found
java is /usr/jvm/jdk1.8/bin/java
Error: JAVA_HOME is not set and java could not be found in PATH.
panda@panda-VirtualBox:~/zookeeper-server/zk1/bin$
https://zhidao.baidu.com/question/1644189876595332740.html?entry=qb_uhome_tag