<?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>topic Re: /etc/profile in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/etc-profile/m-p/3164066#M9116</link>
    <description>you edit /etc/profile&lt;BR /&gt;&lt;BR /&gt;you add, in the order, wherever you want. &lt;BR /&gt;export JAVA_HOME=/usr/local/java&lt;BR /&gt;PATH=$PATH:$JAVA_HOME/bin&lt;BR /&gt;&lt;BR /&gt;Try to be consistent with the rest of the file though...&lt;BR /&gt;&lt;BR /&gt;And then, at the prompt&lt;BR /&gt;&lt;BR /&gt;# source /etc/profile&lt;BR /&gt;&lt;BR /&gt;or you logout/login to set the env variables...</description>
    <pubDate>Wed, 14 Jan 2004 08:21:31 GMT</pubDate>
    <dc:creator>Olivier Drouin</dc:creator>
    <dc:date>2004-01-14T08:21:31Z</dc:date>
    <item>
      <title>/etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-linux/etc-profile/m-p/3164065#M9115</link>
      <description>I've never really dealt with /etc/profile much and i'm asked in some install notes to set an environment variable for JAVA_HOME. Here is the exact wording:&lt;BR /&gt;&lt;BR /&gt;vi /etc/profile  #Add&lt;BR /&gt;export JAVA_HOME=/usr/local/java&lt;BR /&gt;PATH=$PATH:$JAVA_HOME/bin&lt;BR /&gt;source /etc/profile&lt;BR /&gt;&lt;BR /&gt;My question is, where exactly in /etc/profile do I put this in? right below or above the "export" line or what? Thanks all....&lt;BR /&gt;&lt;BR /&gt;Kyle</description>
      <pubDate>Wed, 14 Jan 2004 08:04:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/etc-profile/m-p/3164065#M9115</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2004-01-14T08:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/profile</title>
      <link>https://community.hpe.com/t5/operating-system-linux/etc-profile/m-p/3164066#M9116</link>
      <description>you edit /etc/profile&lt;BR /&gt;&lt;BR /&gt;you add, in the order, wherever you want. &lt;BR /&gt;export JAVA_HOME=/usr/local/java&lt;BR /&gt;PATH=$PATH:$JAVA_HOME/bin&lt;BR /&gt;&lt;BR /&gt;Try to be consistent with the rest of the file though...&lt;BR /&gt;&lt;BR /&gt;And then, at the prompt&lt;BR /&gt;&lt;BR /&gt;# source /etc/profile&lt;BR /&gt;&lt;BR /&gt;or you logout/login to set the env variables...</description>
      <pubDate>Wed, 14 Jan 2004 08:21:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/etc-profile/m-p/3164066#M9116</guid>
      <dc:creator>Olivier Drouin</dc:creator>
      <dc:date>2004-01-14T08:21:31Z</dc:date>
    </item>
  </channel>
</rss>

