title: Cannot start zookeeper server. No jdk directory
body: <p>I'm trying to start kafka on UNIX, but first I need to run zookpeer. 
  I have kafka 2.12 version from <a href="https://www.apache.org/dyn/closer.cgi?path=/kafka/2.0.0/kafka_2.11-2.0.0.tgz" rel="nofollow noreferrer">https://www.apache.org/dyn/closer.cgi?path=/kafka/2.0.0/kafka_2.11-2.0.0.tgz</a>
  I run command <code>bin/zookeeper-server-start.sh config/zookeeper.properties</code>, but I got an error:</p>
  
  <pre><code>/kafka_2.12-2.0.0/bin/kafka-run-class.sh: line 306: /project/multiar/jdk1.7.0_17_x64/bin/java: No such file or directory
  /kafka_2.12-2.0.0/bin/kafka-run-class.sh: line 306: exec: /project/multiar/jdk1.7.0_17_x64/bin/java: cannot execute: No such file or directory.
  </code></pre>
  
  <p>I have Java 8 jdk in path:</p>
  
  <pre><code>openjdk version "1.8.0_161"
  OpenJDK Runtime Environment (build 1.8.0_161-b14)
  OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)
  </code></pre>
  
  <p>Why I cannot run zookeper server? Should I install jdk 7 or change something in <code>.sh</code> files?</p>