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!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...