Building for the Splunk Platform

JAVA_HOME path not exist in splunk DB2 connect

lmjoin115
Explorer

hello,

 

JAVA_HOME path not exist in splunk DB2 connect 

i have done 

 

[java]
javaHome = C:\Program Files\Java\jre1.8.0_26
JAVA_HOME = C:\Program Files\Java\jre1.8.0_26   

 

In splunk dbx_settings 

 

In environment variable 

 

 JAVA_HOME  C:\Program Files\Java\jre1.8.0_26

javaHome  C:\Program Files\Java\jre1.8.0_26  

 

 

 

In splunk DB2 connect 

JRE Installation Path(JAVA_HOME) in splunk DB 2 , i am putting 

C:\Program Files\Java\jre1.8.0_26

 

i have also tried   $ JAVA_HOME ,  $JAVA_HOME$, % JAVA_HOME%, but no luck

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

On my Windows box the configuration is

[java]
java_home = C:\Progra~1\Java\jdk1.8.0_144

I think the embedded space in the file path confuses DBX.

---
If this reply helps you, Karma would be appreciated.
0 Karma

lmjoin115
Explorer

hello,

C:\Progra~1\Java\jre1.8.0_26 put in both JRE Installation Path(JAVA_HOME) and environment also in dbsetting [java]
java_home = C:\Progra~1\Java\jre1.8.0_26
javaHome = C:\Progra~1\Java\jre1.8.0_26
JAVA_HOME = C:\Progra~1\Java\jre1.8.0_26

 

But same issue , 

 
JAVA_HOME path not exist

 

0 Karma
Get Updates on the Splunk Community!

Splunk Forwarders and Forced Time Based Load Balancing

Splunk customers use universal forwarders to collect and send data to Splunk. A universal forwarder can send ...

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...

Last Chance to Submit Your Paper For BSides Splunk - Deadline is August 12th!

Hello everyone! Don't wait to submit - The deadline is August 12th! We have truly missed the community so ...