title: jps command not found in ubuntu 16.04 while installing hadoop
body: <pre><code>rana@ubuntu:/usr/local/hadoop/hadoop-2.7.3/bin$ start-yarn.sh
  starting yarn daemons
  starting resourcemanager, logging to /usr/local/hadoop/hadoop-2.7.3/logs/yarn-rana-resourcemanager-ubuntu.out
  localhost: starting nodemanager, logging to /usr/local/hadoop/hadoop-2.7.3/logs/yarn-rana-nodemanager-ubuntu.out
  rana@ubuntu:/usr/local/hadoop/hadoop-2.7.3/bin$ jps
  The program 'jps' can be found in the following packages:
   * openjdk-8-jdk-headless
   * openjdk-9-jdk-headless
  Try: sudo apt install &lt;selected package&gt;
  rana@ubuntu:/usr/local/hadoop/hadoop-2.7.3/bin$ sudo jps
  sudo: jps: command not found
  </code></pre>
  <p>i was trying to install hadoop, at the end i got an error of jps command not found</p>
  <p>anyone please help me with this
  thank you</p>