Splunk Dev

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!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...