<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Cannot see Javac after successfully installing OpenJDK 1.7.  (-bash: javac: command not found error) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-see-Javac-after-successfully-installing-OpenJDK-1-7/m-p/186706#M58889</link>
    <description>&lt;P&gt;If you read my post again you will see that I had mentioned that I do not see "jvm" folder under /usr/hdp/current. So there is no folder called /usr/hdp/current/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64 in my system.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2017 16:34:06 GMT</pubDate>
    <dc:creator>pradeep_tp</dc:creator>
    <dc:date>2017-04-04T16:34:06Z</dc:date>
    <item>
      <title>Cannot see Javac after successfully installing OpenJDK 1.7.  (-bash: javac: command not found error)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-see-Javac-after-successfully-installing-OpenJDK-1-7/m-p/186704#M58887</link>
      <description>&lt;P&gt;I have HDP 2.4. I have installed OpenJDK 1.7 as mentioned in the following link. The installation happens without any error. Step 5 in this link mentions the line 'ln -s /usr/hdp/current/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64 /usr/java/default'. I do not see any folder called JVM under /usr/hdp/current. I also executed java -version, but I still see Java RE, but no JDK. What am I doing wrong?. Also, when I execute javac, i get the error -bash: javac: command not found&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.3/bk_installing_manually_book/content/meet-min-system-requirements.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.3/bk_installing_manually_book/content/meet-min-system-requirements.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 16:18:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-see-Javac-after-successfully-installing-OpenJDK-1-7/m-p/186704#M58887</guid>
      <dc:creator>pradeep_tp</dc:creator>
      <dc:date>2017-04-04T16:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot see Javac after successfully installing OpenJDK 1.7.  (-bash: javac: command not found error)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-see-Javac-after-successfully-installing-OpenJDK-1-7/m-p/186705#M58888</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/826/pradeep-tp.html" nodeid="826"&gt;@Pradeep kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you sure that you added "$JAVA_HOME/bin"  to your PATH variable?&lt;/P&gt;&lt;PRE&gt;export JAVA_HOME=/usr/hdp/current/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64
export PATH=$JAVA_HOME/bin:$PATH
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Now you shoudl be able to run "javac" and "java --version"&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 16:27:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-see-Javac-after-successfully-installing-OpenJDK-1-7/m-p/186705#M58888</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-04-04T16:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot see Javac after successfully installing OpenJDK 1.7.  (-bash: javac: command not found error)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-see-Javac-after-successfully-installing-OpenJDK-1-7/m-p/186706#M58889</link>
      <description>&lt;P&gt;If you read my post again you will see that I had mentioned that I do not see "jvm" folder under /usr/hdp/current. So there is no folder called /usr/hdp/current/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64 in my system.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 16:34:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-see-Javac-after-successfully-installing-OpenJDK-1-7/m-p/186706#M58889</guid>
      <dc:creator>pradeep_tp</dc:creator>
      <dc:date>2017-04-04T16:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot see Javac after successfully installing OpenJDK 1.7.  (-bash: javac: command not found error)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-see-Javac-after-successfully-installing-OpenJDK-1-7/m-p/186707#M58890</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/826/pradeep-tp.html" nodeid="826"&gt;@Pradeep kumar
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you have installed JDK using &lt;STRONG&gt;yum&lt;/STRONG&gt; then you should check the directory:&lt;/P&gt;&lt;PRE&gt;export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51.x86_64&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;The inside the $JAVA_HOME/bin you should find the "javac" and "java" executables.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/826/pradeep-tp.html" nodeid="826"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 16:47:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-see-Javac-after-successfully-installing-OpenJDK-1-7/m-p/186707#M58890</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-04-04T16:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot see Javac after successfully installing OpenJDK 1.7.  (-bash: javac: command not found error)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-see-Javac-after-successfully-installing-OpenJDK-1-7/m-p/186708#M58891</link>
      <description>&lt;P&gt;the folder that I see in my machine is /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.131.x86_64, which I set it in the export JAVA_HOME command, but i still get the same error,i.e, it cannot find javac&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 17:39:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-see-Javac-after-successfully-installing-OpenJDK-1-7/m-p/186708#M58891</guid>
      <dc:creator>pradeep_tp</dc:creator>
      <dc:date>2017-04-04T17:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot see Javac after successfully installing OpenJDK 1.7.  (-bash: javac: command not found error)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-see-Javac-after-successfully-installing-OpenJDK-1-7/m-p/186709#M58892</link>
      <description>&lt;P&gt;Okay. I have fixed it. I have executed the above two commands, but gave /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.131.x86_64 for the openJDK path. Thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 18:14:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Cannot-see-Javac-after-successfully-installing-OpenJDK-1-7/m-p/186709#M58892</guid>
      <dc:creator>pradeep_tp</dc:creator>
      <dc:date>2017-04-04T18:14:51Z</dc:date>
    </item>
  </channel>
</rss>

