title: Kill a java process (in linux) by process name instead of PID
body: <p>While configuring/installing Hadoop cluster we often need to kill a Java Process/Daemon.
  We see Java Processes/Daemons running with <code>jps</code> command. 
  Usually we kill a Java process with its PID. E.g.</p>
  
  <pre><code>kill -9 112224
  </code></pre>
  
  <p>It is little bit difficult to type the PID. Is there a way to kill the process by its name? In a single command?</p>