sudo yum install installs only JRE not JDK - Centos : <p>I tried installing open-jdk in Centos using the below command,</p>

<pre><code>sudo yum install java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64
</code></pre>

<p>It installs only the JRE by not JDK. </p>

<p>After installation,</p>

<ol>
<li><p>The folder <code>/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64</code> only jre</p></li>
<li><p><code>javac</code> is not recognized.</p></li>
</ol>
