<?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 Ambari Setup - JAVA HOME Error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Setup-JAVA-HOME-Error/m-p/215684#M177594</link>
    <description>&lt;P&gt;I have similar issue which was posted in Ambari Setup. I could see in some post about the 2 JDK with third option as Custom but in my case, i could see only JDK as single option. Can someone please help me to get rid of this issue? &lt;/P&gt;&lt;P&gt;[root@localhost ~]# ambari-server setup
Using python  /usr/bin/python
Setup ambari-server
Checking SELinux...
SELinux status is 'disabled'
Customize user account for ambari-server daemon [y/n] (n)? n
Adjusting ambari-server permissions and ownership...
Checking firewall status...
Checking JDK...
[1] Custom JDK
==============================================================================
Enter choice (1): 1
WARNING: JDK must be installed on all hosts and JAVA_HOME must be valid on all hosts.
WARNING: JCE Policy files are required for configuring Kerberos security. If you plan to use Kerberos,please make sure JCE Unlimited Strength Jurisdiction Policy Files are valid on all hosts.
Path to JAVA_HOME: /usr/lib/jvm/jre-1.8.0-openjdk/bin
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;/P&gt;</description>
    <pubDate>Tue, 05 Jun 2018 21:23:25 GMT</pubDate>
    <dc:creator>khsabarish</dc:creator>
    <dc:date>2018-06-05T21:23:25Z</dc:date>
  </channel>
</rss>

