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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...