title: javac : command not found
body: <p>I have installed java in my <em>CentOS release 5.5</em> machine using the command <code>yum install java</code>. But I am unable to compile a class using javac.</p>
  
  <p>Do I need to install any other package? </p>
  
  <p>I have tried to locate the <code>javac</code> executable but i am unable to locate it.</p>
  
  <p><code>/usr/bin/java</code> is linked as follows:<br>
  <code>/usr/bin/java</code> -> <code>/etc/alternatives/java</code><br>
  <code>/etc/alternatives/java</code> -> <code>/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java</code></p>
  
  <p>I have seen the following output by <code>yum list installed |grep java</code>:</p>
  
  <pre><code>java-1.6.0-openjdk.x86_64              1:1.6.0.0-1.16.b17.el5          installed
  tzdata-java.x86_64                     2011b-1.el5                     installed
  </code></pre>