<?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: Can JAVA_HOME be set in splunk-launch.conf? in Security</title>
    <link>https://community.splunk.com/t5/Security/Can-JAVA-HOME-be-set-in-splunk-launch-conf/m-p/442237#M13338</link>
    <description>&lt;P&gt;I edited splunk-launch.conf to have the following contents:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SPLUNK_SERVER_NAME=Splunkd
JAVA_HOME=/opt/java
# Splunkweb daemon name
SPLUNK_WEB_NAME=splunkweb
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I then restarted splunk. And I made splunk run a script ran the &lt;CODE&gt;env&lt;/CODE&gt; command.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Feb 2019 09:47:32 GMT</pubDate>
    <dc:creator>chrisyounger</dc:creator>
    <dc:date>2019-02-01T09:47:32Z</dc:date>
    <item>
      <title>Can JAVA_HOME be set in splunk-launch.conf?</title>
      <link>https://community.splunk.com/t5/Security/Can-JAVA-HOME-be-set-in-splunk-launch-conf/m-p/442233#M13334</link>
      <description>&lt;P&gt;If you have an app/add-on running on Splunk that doesn't have the set JAVA_HOME path option, can you somehow manage to tweak the whole Splunk installation to look for it in a different directory than the system's default one? &lt;/P&gt;

&lt;P&gt;I was thinking it may be possible to add a new line in splunk-launch.conf like JAVA_HOME=/path/ &lt;BR /&gt;
If this is possible, will this force the app/add-on to look for it where the launch.conf file points to? &lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 09:28:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-JAVA-HOME-be-set-in-splunk-launch-conf/m-p/442233#M13334</guid>
      <dc:creator>adriannicolicea</dc:creator>
      <dc:date>2019-02-01T09:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can JAVA_HOME be set in splunk-launch.conf?</title>
      <link>https://community.splunk.com/t5/Security/Can-JAVA-HOME-be-set-in-splunk-launch-conf/m-p/442234#M13335</link>
      <description>&lt;P&gt;Yes that should work fine.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 09:32:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-JAVA-HOME-be-set-in-splunk-launch-conf/m-p/442234#M13335</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2019-02-01T09:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can JAVA_HOME be set in splunk-launch.conf?</title>
      <link>https://community.splunk.com/t5/Security/Can-JAVA-HOME-be-set-in-splunk-launch-conf/m-p/442235#M13336</link>
      <description>&lt;P&gt;I just tested setting JAVA_HOME in splunklaunch of my personal environment and it works as expected&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 09:40:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-JAVA-HOME-be-set-in-splunk-launch-conf/m-p/442235#M13336</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2019-02-01T09:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can JAVA_HOME be set in splunk-launch.conf?</title>
      <link>https://community.splunk.com/t5/Security/Can-JAVA-HOME-be-set-in-splunk-launch-conf/m-p/442236#M13337</link>
      <description>&lt;P&gt;How did you perform the test? &lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 09:44:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-JAVA-HOME-be-set-in-splunk-launch-conf/m-p/442236#M13337</guid>
      <dc:creator>adriannicolicea</dc:creator>
      <dc:date>2019-02-01T09:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can JAVA_HOME be set in splunk-launch.conf?</title>
      <link>https://community.splunk.com/t5/Security/Can-JAVA-HOME-be-set-in-splunk-launch-conf/m-p/442237#M13338</link>
      <description>&lt;P&gt;I edited splunk-launch.conf to have the following contents:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SPLUNK_SERVER_NAME=Splunkd
JAVA_HOME=/opt/java
# Splunkweb daemon name
SPLUNK_WEB_NAME=splunkweb
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I then restarted splunk. And I made splunk run a script ran the &lt;CODE&gt;env&lt;/CODE&gt; command.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 09:47:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-JAVA-HOME-be-set-in-splunk-launch-conf/m-p/442237#M13338</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2019-02-01T09:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can JAVA_HOME be set in splunk-launch.conf?</title>
      <link>https://community.splunk.com/t5/Security/Can-JAVA-HOME-be-set-in-splunk-launch-conf/m-p/442238#M13339</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 09:56:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-JAVA-HOME-be-set-in-splunk-launch-conf/m-p/442238#M13339</guid>
      <dc:creator>adriannicolicea</dc:creator>
      <dc:date>2019-02-01T09:56:31Z</dc:date>
    </item>
  </channel>
</rss>

