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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...