<?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: Ambari Setup - Java home in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Setup-Java-home/m-p/139828#M32005</link>
    <description>&lt;P&gt;Hi Ahmad,&lt;/P&gt;&lt;P&gt;Great to know that you managed &lt;/P&gt;&lt;P&gt;But Strange it supposed to work &lt;/P&gt;&lt;P&gt;what command did  you use?&lt;/P&gt;&lt;P&gt;i use below command in my ambari setup and it works perfectly on different os &lt;/P&gt;&lt;P&gt;ambari-server setup –j /usr/java/jdk1.8.0_74&lt;/P&gt;&lt;P&gt;please refer for more &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_reference_guide/content/ch_changing_the_jdk_version_on_an_existing_cluster.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_reference_guide/content/ch_changing_the_jdk_version_on_an_existing_cluster.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;btw which OS you are working with ? &lt;/P&gt;&lt;P&gt;also i don think $PATH necessarily needs to be updated , we are already specifying "–j /usr/java/jdk1.8.0_74"&lt;/P&gt;&lt;P&gt;Just make sure on all machines you have teh java home accessible &lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2016 20:56:35 GMT</pubDate>
    <dc:creator>ripu</dc:creator>
    <dc:date>2016-06-20T20:56:35Z</dc:date>
    <item>
      <title>Ambari Setup - Java home</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Setup-Java-home/m-p/139825#M32002</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;i am installing ambari with a custom JDK, when i enter the java home path i am getting the following error. &lt;/P&gt;&lt;PRE&gt;ERROR: Exiting with exit code 1.
REASON: Downloading or installing JDK failed: 'Fatal exception: Java home path or java binary file is unavailable. Please put correct path to java home., exit code 1'. Exiting.


&lt;/PRE&gt;&lt;P&gt;I have already installed java and exported the java_home variable and updated the path variable&lt;/P&gt;&lt;PRE&gt;[root@DB-HDP-Ambari bin]# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/opt/jdk1.8.0_91/bin:/opt/jdk1.8.0_91/jre/bin
&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Jun 2016 14:54:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Setup-Java-home/m-p/139825#M32002</guid>
      <dc:creator>afdebbas</dc:creator>
      <dc:date>2016-06-15T14:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Setup - Java home</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Setup-Java-home/m-p/139826#M32003</link>
      <description>&lt;P&gt;i updated the /etc/environment with the JAVA_HOME value file and the setup worked.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 14:57:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Setup-Java-home/m-p/139826#M32003</guid>
      <dc:creator>afdebbas</dc:creator>
      <dc:date>2016-06-15T14:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Setup - Java home</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Setup-Java-home/m-p/139827#M32004</link>
      <description>&lt;P&gt;You can also use ambari-server setup –j /usr/java/default&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 15:34:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Setup-Java-home/m-p/139827#M32004</guid>
      <dc:creator>pankaj_singh</dc:creator>
      <dc:date>2016-06-15T15:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Setup - Java home</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Setup-Java-home/m-p/139828#M32005</link>
      <description>&lt;P&gt;Hi Ahmad,&lt;/P&gt;&lt;P&gt;Great to know that you managed &lt;/P&gt;&lt;P&gt;But Strange it supposed to work &lt;/P&gt;&lt;P&gt;what command did  you use?&lt;/P&gt;&lt;P&gt;i use below command in my ambari setup and it works perfectly on different os &lt;/P&gt;&lt;P&gt;ambari-server setup –j /usr/java/jdk1.8.0_74&lt;/P&gt;&lt;P&gt;please refer for more &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_reference_guide/content/ch_changing_the_jdk_version_on_an_existing_cluster.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_reference_guide/content/ch_changing_the_jdk_version_on_an_existing_cluster.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;btw which OS you are working with ? &lt;/P&gt;&lt;P&gt;also i don think $PATH necessarily needs to be updated , we are already specifying "–j /usr/java/jdk1.8.0_74"&lt;/P&gt;&lt;P&gt;Just make sure on all machines you have teh java home accessible &lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 20:56:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Setup-Java-home/m-p/139828#M32005</guid>
      <dc:creator>ripu</dc:creator>
      <dc:date>2016-06-20T20:56:35Z</dc:date>
    </item>
  </channel>
</rss>

