<?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 CentOs Java Update in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CentOs-Java-Update/m-p/126920#M47436</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i am trying to update the Java version from 7 to 8 on a Sandbox which is running on CentOS.&lt;/P&gt;&lt;P&gt;If i am trying this with the command:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;ambari-server setup&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;i get asked which version i want to install but after the "upgrade" i have still the Java 7 on the sandbox. I am running it wih root.&lt;/P&gt;&lt;P&gt;I hope someone can help me with this.&lt;/P&gt;&lt;P&gt;Regrads,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;
&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:50:02 GMT</pubDate>
    <dc:creator>bauer_ja</dc:creator>
    <dc:date>2022-09-16T10:50:02Z</dc:date>
    <item>
      <title>CentOs Java Update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CentOs-Java-Update/m-p/126920#M47436</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i am trying to update the Java version from 7 to 8 on a Sandbox which is running on CentOS.&lt;/P&gt;&lt;P&gt;If i am trying this with the command:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;ambari-server setup&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;i get asked which version i want to install but after the "upgrade" i have still the Java 7 on the sandbox. I am running it wih root.&lt;/P&gt;&lt;P&gt;I hope someone can help me with this.&lt;/P&gt;&lt;P&gt;Regrads,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;
&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:50:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CentOs-Java-Update/m-p/126920#M47436</guid>
      <dc:creator>bauer_ja</dc:creator>
      <dc:date>2022-09-16T10:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: CentOs Java Update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CentOs-Java-Update/m-p/126921#M47437</link>
      <description>&lt;P&gt;I assume that you did not use the 'custom Java' option in the setup dialog, right?&lt;/P&gt;&lt;P&gt;For the update of the used java to work, you will have to make sure that&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;you have internet connection on the host&lt;/LI&gt;&lt;LI&gt;and you must install this JDK on all hosts in the cluster to the same path.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;(I guess in the sandbox setup you only have one machine, as long as you did not change it).&lt;/P&gt;&lt;P&gt;After setup completes, you must restart each component for the new JDK to be used by the Hadoop services.Using the Ambari Web UI, do the following tasks:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Restart each component&lt;/LI&gt;&lt;LI&gt;Restart each host&lt;/LI&gt;&lt;LI&gt;Restart all services&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 29 Nov 2016 16:17:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CentOs-Java-Update/m-p/126921#M47437</guid>
      <dc:creator>pgreiff</dc:creator>
      <dc:date>2016-11-29T16:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: CentOs Java Update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CentOs-Java-Update/m-p/126922#M47438</link>
      <description>&lt;P&gt;To shortcut the procedure you can also set the other java version for the whole server:&lt;/P&gt;&lt;PRE&gt;/usr/sbin/alternatives --config java&lt;/PRE&gt;&lt;P&gt;This will change the java version for the whole system and not just Ambari and the HDP components.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 16:24:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CentOs-Java-Update/m-p/126922#M47438</guid>
      <dc:creator>pgreiff</dc:creator>
      <dc:date>2016-11-29T16:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: CentOs Java Update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CentOs-Java-Update/m-p/126923#M47439</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14268/bauer-ja.html" nodeid="14268"&gt;@Jan Bauer&lt;/A&gt; - did this solve your question?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 16:16:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CentOs-Java-Update/m-p/126923#M47439</guid>
      <dc:creator>pgreiff</dc:creator>
      <dc:date>2016-12-01T16:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: CentOs Java Update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CentOs-Java-Update/m-p/126924#M47440</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late answer,&lt;/P&gt;&lt;P&gt;i had to install it like you said. &lt;/P&gt;&lt;P&gt;But additional i hade to modify all env files for the servies on the Cluster. (Set the new JAVA_HOME Path)&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 18:52:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CentOs-Java-Update/m-p/126924#M47440</guid>
      <dc:creator>bauer_ja</dc:creator>
      <dc:date>2016-12-13T18:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: CentOs Java Update</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CentOs-Java-Update/m-p/126925#M47441</link>
      <description>&lt;P&gt;I had install new openjdk 1.8 and there is the old 1.6 version on the same version&lt;/P&gt;&lt;P&gt;I use &lt;/P&gt;&lt;PRE&gt;/usr/sbin/alternatives --config java
&lt;/PRE&gt;&lt;P&gt;changed the java version,&lt;/P&gt;&lt;P&gt;and then use java -version,it shows me the openjdk version is 1.8&lt;/P&gt;&lt;P&gt;but I found  /usr/lib/jvm/ linked to /etc/alternatives/java_sdk and still linked to  /usr/lib/jvm/java-1.6.0-openjdk.x86_64&lt;/P&gt;&lt;P&gt;So I think nothing changed.&lt;/P&gt;&lt;P&gt;I just set JAVA_HOME to /usr/lib/jvm/java ，and want not to change the java home path after each jdk upgrade.&lt;/P&gt;&lt;P&gt;So I don't know why the /etc/alternatives/java_sdk link not change.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 12:05:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CentOs-Java-Update/m-p/126925#M47441</guid>
      <dc:creator>darkz1984</dc:creator>
      <dc:date>2017-04-11T12:05:00Z</dc:date>
    </item>
  </channel>
</rss>

